Skip to content

[add] logger - use environment variables for rotating log parameters#1857

Merged
liiight merged 2 commits intodevelopfrom
logger-env-rotating-params
Jun 1, 2017
Merged

[add] logger - use environment variables for rotating log parameters#1857
liiight merged 2 commits intodevelopfrom
logger-env-rotating-params

Conversation

@tubedogg
Copy link
Copy Markdown
Contributor

@tubedogg tubedogg commented Jun 1, 2017

Motivation for changes:

Feature request to allow larger log files in light of some plugins being very verbose when using VERBOSE and especially DEBUG logging.

Detailed changes:

Two environment variables were added to allow customization of the rotating log parameters:

  • FLEXGET_LOG_MAXBYTES defines the maximum bytes per file (default 1 MB)
  • FLEXGET_LOG_MAXCOUNT defines the maximum number of files (default 9)

Implemented feature requests:

  • Feathub #17.

Two environment variables were added to allow customization of the rotating log parameters:
- `FLEXGET_LOG_MAXBYTES` defines the maximum bytes per file (default 1 MB)
- `FLEXGET_LOG_MAXCOUNT` defines the maximum number of files (default 9)
@tubedogg tubedogg self-assigned this Jun 1, 2017
@liiight liiight merged commit c39b8de into develop Jun 1, 2017
@cvium cvium deleted the logger-env-rotating-params branch June 1, 2017 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants