Skip to content

Commit

Permalink
Merge pull request #589 from Flowminder/tweak-logging-docs
Browse files Browse the repository at this point in the history
Rephrase docs to be more explicit about default logging level.
  • Loading branch information
mergify[bot] authored Apr 5, 2019
2 parents 61bcc7f + 1d68742 commit c330e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/5-administrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Note that the `request_id` field is identical across the five log entries, which

### Error and Debugging Logs

By default, FlowMachine and FlowAPI write error logs to stderr. For more verbose logging, set the `LOG_LEVEL` environment variable to `debug` when starting the docker container.
FlowMachine and FlowAPI write logs to stderr. By default, the logging level is `error`. For more verbose logging, set the `LOG_LEVEL` environment variable to `info` or `debug` when starting the docker container.

Log messages from FlowMachine will show the `logger` field of the log entry as `flowmachine.debug`, and the Python module that emitted the log entry in the `submodule` field (e.g. `{'logger':'flowmachine.debug', 'submodule':'flowmachine.core.query'}`. FlowAPI debugging messages set `logger` to `flowapi.debug`.

Expand Down

0 comments on commit c330e5c

Please sign in to comment.