Skip to content
Snippets Groups Projects

Introduced log file option

Merged Adham Hashibon requested to merge add-logging-file into master

Created by: stefanoborini

Allows to write a log file instead of relying to stdout/err.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
65 67 Reports failure to load a module through stevedore, using the
66 68 on_load_failure_callback option.
67 69 """
68 logging.error(
70 log.error(
  • Created by: dpinte

    if you want you can combine the log.error and log.exception by adding a kwarg exc_info=True to log.error.

Please register or sign in to reply
Loading