atoti.LoggingConfig(The config describing how the session logs will be handled. To stream the session logs to the Python process’ standard output:
*,
destination: Path | TextIO | TextIOBase | None =None,
)
Attributes
destination
The place where the session logs will be written to. IfNone, the logs will be written to logs/server.log in the session directory under $ATOTI_HOME (this environment variable itself defaults to $HOME/.atoti).
Unless an instance of
io.TextIOBase is passed, the rolling policy is:- Maximum file size of 10MB.
- Maximum history of 7 days.
f"{destination}.{date}.{i}.gz" where date is the creation date of the file in the yyyy-MM-dd format and i an integer incremented during the day.