Skip to content

Conversation

@Adrian-IM
Copy link
Contributor

Removed wrong formatters in log
Added correct changelog

"-%(lineno)d: %(message)s"
for handler in custom_logger.handlers:
handler.setFormatter(logging.Formatter(sformat, "%I:%M:%S"))
handler.setFormatter(logging.Formatter(sformat))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default is set to "%Y-%m-%d %H:%M:%S,uuu"

"-%(lineno)d: %(message)s"
sformat = " ".join(args) + base
[handler.setFormatter(logging.Formatter(sformat, "%I:%M:%S"))
[handler.setFormatter(logging.Formatter(sformat))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default is set to "%Y-%m-%d %H:%M:%S,uuu"

@marcserrat marcserrat merged commit 91c76e8 into cloudblue:master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants