Skip to content

Bump bot core#2766

Merged
ChrisLovering merged 2 commits into
mainfrom
bump-bot-core
Nov 25, 2023
Merged

Bump bot core#2766
ChrisLovering merged 2 commits into
mainfrom
bump-bot-core

Conversation

@ChrisLovering
Copy link
Copy Markdown
Member

This bumps bot core and updates bot to make use of the new logging utils.

The idea with this is to have a consistent place where all bots can pull the logging form at from.

Comment thread bot/log.py

if "COLOREDLOGS_LOG_FORMAT" not in os.environ:
coloredlogs.DEFAULT_LOG_FORMAT = format_string
coloredlogs.DEFAULT_LOG_FORMAT = core_logging.log_format._fmt
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the only thing I'm slightly sad about. Since I didn't surface the logging string used by bot core, this is the only way to get the raw logging string.

I think it's fine, but if anyone feels strongly about it I can update bot core to make this available in a variable.

Copy link
Copy Markdown
Contributor

@Xithrius Xithrius left a comment

Choose a reason for hiding this comment

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

yej

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