Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

respect MaxLogFileSize setting even when ELPP_NO_DEFAULT_LOG_FILE is set#593

Closed
MonsieurNicolas wants to merge 1 commit intoabumq:masterfrom
MonsieurNicolas:fixMaxLogSize
Closed

respect MaxLogFileSize setting even when ELPP_NO_DEFAULT_LOG_FILE is set#593
MonsieurNicolas wants to merge 1 commit intoabumq:masterfrom
MonsieurNicolas:fixMaxLogSize

Conversation

@MonsieurNicolas
Copy link
Copy Markdown

It looks like defining ELPP_NO_DEFAULT_LOG_FILE disables features such as MaxLogFileSize even though ELPP_NO_DEFAULT_LOG_FILE is supposed to only impact the initial state (as per documentation).

While this fix changes the behavior, it should not really impact anybody:
it is safe to assume that somebody setting MaxLogFileSize does it when logging to a file.

This is a

  • Breaking change
  • New feature
  • Bugfix

I have

@MonsieurNicolas
Copy link
Copy Markdown
Author

Any feedback on this PR?

@abumq
Copy link
Copy Markdown
Owner

abumq commented Feb 14, 2018

Hi @MonsieurNicolas Sorry for the delay and thanks for this PR.
I like this change and I've applied changes manually in 4442da1 as it's hard to merge changes with potential conflicts

@abumq abumq closed this Feb 14, 2018
abumq pushed a commit that referenced this pull request Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants