Skip to content

Commit

Permalink
Matched conf/log files with internal repo
Browse files Browse the repository at this point in the history
Changed level to DEBUG and formatter set to detailed.

Can keep both external and internal versions same by making external also have the same logging level as internal.

Internal version given priority as detailed logging is better for detecting errors.

Also, debug() statements [~1500] are much more than warning() statements [~50].

Will lose out on all these when external repo is used / run if only WARNING level set as default which is higher than DEBUG level.
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed Mar 26, 2024
1 parent 93c2232 commit a80d7e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion conf/log/intake.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"console": {
"class": "logging.StreamHandler",
"level": "WARNING"
"level": "DEBUG",
"formatter": "detailed"
},
"file": {
"backupCount": 8,
Expand Down
3 changes: 2 additions & 1 deletion conf/log/webserver.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"console": {
"class": "logging.StreamHandler",
"level": "WARNING"
"level": "DEBUG",
"formatter": "detailed"
},
"file": {
"backupCount": 3,
Expand Down

0 comments on commit a80d7e4

Please sign in to comment.