Skip to content

Comments

Custom log formatting#1041

Open
Thanduriel wants to merge 2 commits intodevelopfrom
issue_1039_log_formatting
Open

Custom log formatting#1041
Thanduriel wants to merge 2 commits intodevelopfrom
issue_1039_log_formatting

Conversation

@Thanduriel
Copy link
Member

Improved log formatting

Fixes #1039


Change Description

Logged messages now also display current local time and the severity level. This is implemented using standard boost::log customization points in Logged::configure. Thus, improved formatting is not used in some tests (like the one referenced in the issue) where Model::configure is not called.

Test Description

I run some cases with a verbose log level, e.g.:

[Logged]
minimum_log_level = all
console_log_level = all

@Thanduriel Thanduriel force-pushed the issue_1039_log_formatting branch from eee05e2 to 5477258 Compare February 10, 2026 16:51
Copy link
Collaborator

@timspainNERSC timspainNERSC left a comment

Choose a reason for hiding this comment

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

Good that the logging is finally getting looked at!
The CMake formatter has made a mess of the layout of one comment. The rest looks fine, though.

@Thanduriel Thanduriel self-assigned this Feb 23, 2026
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.

Log formatting severity level

2 participants