Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate ClimaComms logging updates #3532

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nefrathenrici
Copy link
Member

@nefrathenrici nefrathenrici commented Jan 21, 2025

This PR tests out the latest logging features from ClimaComms, especially CliMA/ClimaComms.jl#104.

This adds a new config option log_to_file = true which will enable ClimaComms.FileLogger, a logger that outputs to stdout and saves logs to disk in output_active/output.log. As part of this, MPI simulations will have an additional folder output_active/logs storing the logs from each MPI process.

TODO: remove silence_non_root_processes, since this is also handled by ClimaComms now.

@nefrathenrici nefrathenrici force-pushed the ne/logging branch 4 times, most recently from 7f5edde to 608af60 Compare January 27, 2025 21:13
@nefrathenrici nefrathenrici marked this pull request as ready for review January 27, 2025 21:13
Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

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

Could you add an entry to the NEWS file and a page in the docs describing where one should expect to see the log (with links to the docs in ClimaComms)?

config/default_configs/default_config.yml Outdated Show resolved Hide resolved
Copy link
Member

@charleskawczynski charleskawczynski left a comment

Choose a reason for hiding this comment

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

We'll need to upgrade the manifest, too. Otherwise we won't see the expected changes in CI.

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.

3 participants