Skip to content

The pyntc rotating file handler is now opt-in#383

Open
gsnider2195 wants to merge 2 commits intodevelopfrom
NCSAT-27/log-file
Open

The pyntc rotating file handler is now opt-in#383
gsnider2195 wants to merge 2 commits intodevelopfrom
NCSAT-27/log-file

Conversation

@gsnider2195
Copy link
Copy Markdown
Contributor

The pyntc rotating file handler is now opt-in via the PYNTC_LOG_FILE environment variable.

…` environment variable. When unset, no log file is created. When set, its value is used as the log file path, and the handler is registered only once per logger to avoid duplicate entries on repeated `get_log` calls.
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.

1 participant