nickva commented on issue #4815:
URL: https://github.com/apache/couchdb/issues/4815#issuecomment-1791442468

   That's great @Sdas0000. Yeah, compaction level has to higher or equal than 
your log level, otherwise you won't see those messages. So for instance if you 
set your log level to `warning`, then your smoosh and couchdb 
`compaction_log_level` should be `warning`, `error`, etc to be logged.
   
   Initially your log level was set to `error` but your `compaction_log_level` 
was at `notice` so you didn't see them. Then, when log level is `info`, you 
started seeing `notice` messages. `notice` is a big higher than `info` as per:
   
   ```erlang
   level_to_integer(debug) -> 1;
   level_to_integer(info) -> 2;
   level_to_integer(notice) -> 3;
   level_to_integer(warning) -> 4;
   level_to_integer(warn) -> 4;
   level_to_integer(error) -> 5;
   level_to_integer(err) -> 5;
   level_to_integer(critical) -> 6;
   level_to_integer(crit) -> 6;
   level_to_integer(alert) -> 7;
   level_to_integer(emergency) -> 8;
   level_to_integer(emerg) -> 8;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to