nginxの拡張モジュール開発してる際に毎回エラーログ確認するの面倒だなと思ってたんだけど、よくよく考えてみたらstderrに流せばいいやと思って今は起動時に↓のオプション付けることにしている。
$ nginx -g 'daemon off; error_log stderr;'
More than 5 years have passed since last update.
nginxの拡張モジュール開発してる際に毎回エラーログ確認するの面倒だなと思ってたんだけど、よくよく考えてみたらstderrに流せばいいやと思って今は起動時に↓のオプション付けることにしている。
$ nginx -g 'daemon off; error_log stderr;'
Register as a new user and use Qiita more conveniently