-
Notifications
You must be signed in to change notification settings - Fork 690
本番モードのmonolog 調整 #5322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本番モードのmonolog 調整 #5322
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.1 #5322 +/- ##
============================================
+ Coverage 68.42% 68.54% +0.11%
Complexity 6159 6159
============================================
Files 463 463
Lines 25280 25285 +5
============================================
+ Hits 17298 17331 +33
+ Misses 7982 7954 -28
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8000
app/config/eccube/packages/prod/monolog.yml
Outdated
@@ -10,7 +16,7 @@ monolog: | |||
max_files: 60 | |||
path: '%kernel.logs_dir%/%kernel.environment%/site.log' | |||
formatter: eccube.log.formatter.line | |||
level: debug | |||
level: info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@watarukashii
こちらの設定は、ERROR発生時はdebug以上を出力するようにする、かなと思うんですが、ここもdeubgに変更する必要ありますか?
https://qiita.com/mkita_a/items/362a9dd7c824a3793ad1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chihiro-adachi
コメントありがとうございます。おっしゃるとおり、 ERROR発生時はdebug以上を出力する
と存じます。
prod/monolog.logをdebugに変更いたしました。恐れ入ります。引き続きよろしくおねがいします。
@watarukashii |
概要(Overview・Refs Issue)
現状、本番モードで
Deprecated
エラーや、同じようなログが大量に出力されているため本番モードのmonologの調整を行いました。
方針(Policy)
symfony/symfony#26267 (comment)
上記、symfonyのissue にならって作成。
#5082 (comment)
に記載したとおりですが、Deprecated 以外にも、不要かと思われるエラーを定義しました。
実装に関する補足(Appendix)
テスト(Test)
相談(Discussion)
マイナーバージョン互換性保持のための制限事項チェックリスト
レビュワー確認項目