#2470: changelog + documentation
This commit is contained in:
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## 3.0.0b9
|
## 3.0.0b9
|
||||||
- Removed deprecated `PrimaiteSession` class.
|
- Removed deprecated `PrimaiteSession` class.
|
||||||
|
- Added ability to set log levels via configuration.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
- Made requests fail to reach their target if the node is off
|
- Made requests fail to reach their target if the node is off
|
||||||
|
|||||||
@@ -18,6 +18,30 @@ This section configures how PrimAITE saves data during simulation and training.
|
|||||||
save_step_metadata: False
|
save_step_metadata: False
|
||||||
save_pcap_logs: False
|
save_pcap_logs: False
|
||||||
save_sys_logs: False
|
save_sys_logs: False
|
||||||
|
log_level: INFO
|
||||||
|
|
||||||
|
|
||||||
|
``log_level``
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Optional. Default value is ``INFO``.
|
||||||
|
|
||||||
|
The level of logging that should be visible in the sys logs or the logs output to the terminal.
|
||||||
|
|
||||||
|
Available options are:
|
||||||
|
|
||||||
|
- ``OFF``: No logs
|
||||||
|
- ``DEBUG``: Debug level items and the items below
|
||||||
|
- ``INFO``: Info level items and the items below
|
||||||
|
- ``WARNING``: Warning level items and the items below
|
||||||
|
- ``ERROR``: Error level items and the items below
|
||||||
|
- ``CRITICAL``: Only critical level logs
|
||||||
|
|
||||||
|
See also |logging_levels|
|
||||||
|
|
||||||
|
.. |logging_levels| raw:: html
|
||||||
|
|
||||||
|
<a href="https://docs.python.org/3/library/logging.html#logging-levels" target="blank">Python logging levels</a>
|
||||||
|
|
||||||
|
|
||||||
``save_logs``
|
``save_logs``
|
||||||
|
|||||||
Reference in New Issue
Block a user