question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting ClearML package log level

See original GitHub issue

I could not find a way to control the verbosity of the messages that are logged by ClearML (I’m talking about it’s own messages, e.g. clearml.Task - INFO - No repository found, storing script code instead). It doesn’t seem to be possible to do this in the standard way where the log level of any Python package can be changed by getting the package’s root logger, i.e.

logging.getLogger("clearml").setLevel(logging.WARNING)

Is there a way to control ClearML log level, or to deactivate any logging from the ClearML package (unless it’s a warning or an error)?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
qwaxyscommented, Nov 22, 2022

@fjean the logger default level can now be changed in the new release 1.8.1. If you have any questions or feedback, feel free to let us know!

1reaction
jkhenningcommented, Aug 8, 2022

So clearml re-configures the logging, and probably overrides your settings. Take a look at the clearml default logging settings

These settings can be overridden in your clearml.conf file using:

logging.loggers.clearml {
   ...
}

This entire structure is fed into Python’s logging.config.dictConfig()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Logger | ClearML
You can view the reported text in the ClearML Web-App (UI), RESULTS tab, CONSOLE sub-tab. Parameters. msg (str ) – The text to...
Read more >
clearml/logger.md at master - GitHub
Get the current logger; Overrride the ClearML configuration file with a default upload destination for images and files. Graphs and Images.
Read more >
YOLOv5 with ClearML Logging
Install the clearml python package: pip install clearml. Connect the ClearML SDK to the server by creating credentials (go right top to Settings...
Read more >
clearml-agent - PyPI
Note: The ClearML Agent uses a cache folder to cache pip packages, apt packages and ... Note: The ClearML agent extends the ClearML...
Read more >
Newest 'clearml' Questions - Stack Overflow
5 with SSH Port Forwarding and not beeing able to see my debug samples. My setup: ClearML server on hostA SSH Tunnel connections...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found