Skip to content
代码片段 群组 项目
提交 2995ff12 编辑于 作者: Andrew Newdigate's avatar Andrew Newdigate 提交者: Kamil Trzciński
浏览文件

Include puma logs alongside rails logs in GDK

Currently puma logs are emitted to a different location than rails logs.
In development environments, having a single stream of logs for puma
and rails simplifies things and ensures that developers will see puma
errors, instead of having them emitted to a file that is not usually
checked.
上级 c622832c
No related branches found
No related tags found
无相关合并请求
...@@ -14,9 +14,13 @@ ...@@ -14,9 +14,13 @@
pidfile '/home/git/gitlab/tmp/pids/puma.pid' pidfile '/home/git/gitlab/tmp/pids/puma.pid'
state_path '/home/git/gitlab/tmp/pids/puma.state' state_path '/home/git/gitlab/tmp/pids/puma.state'
stdout_redirect '/home/git/gitlab/log/puma.stdout.log', ## Uncomment the lines if you would like to write puma stdout & stderr streams
'/home/git/gitlab/log/puma.stderr.log', ## to a different location than rails logs.
true ## When using GitLab Development Kit, by default, these logs will be consumed
## by runit and can be accessed using `gdk tail rails-web`
# stdout_redirect '/home/git/gitlab/log/puma.stdout.log',
# '/home/git/gitlab/log/puma.stderr.log',
# true
# Configure "min" to be the minimum number of threads to use to answer # Configure "min" to be the minimum number of threads to use to answer
# requests and "max" the maximum. # requests and "max" the maximum.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册