Commit cdbfbc9b authored by ash's avatar ash

Add logging-related keys to the example config. Use the same default for both.

parent c1672b42
config.yml
tmp/*
*.log
......@@ -24,3 +24,8 @@ redis:
# socket: /tmp/redis.socket # Only define this if you want to use sockets
namespace: resque:gitlab
# Log file.
log_file: "/home/git/gitlab-shell/gitlab-shell.log"
# Log level. INFO by default
log_level: INFO
......@@ -32,7 +32,7 @@ class GitlabConfig
end
def log_file
@config['log_file'] ||= File.join(ROOT_PATH, 'log', 'gitlab_shell.log')
@config['log_file'] ||= File.join(ROOT_PATH, 'gitlab-shell.log')
end
def log_level
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment