Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 501 Bytes

logging.rst

File metadata and controls

13 lines (9 loc) · 501 Bytes

Logging

Enabling/Disabling/Changing Log Level at Runtime

Sometime you want to be able to enable console logging or change a logging level directly in a script without the need for an idmtools.ini file. The following example shows how to do that.

../../examples/cookbook/logging/enable_at_run_time.py

See Logging Overview for details on configuring logging through the idmtools.ini.