Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save the log to the rotated log file instead of error.log until restarting the web server #437

Open
Code-Egg opened this issue Jan 14, 2025 · 0 comments

Comments

@Code-Egg
Copy link
Contributor

Configuration for logging;

errorlog logs/error.log {
    logLevel INFO
    debugLevel 0
    rollingSize 10M
    enableStderrLog 1
}

Issue:
We did run a script to access the url for purpose to build up the log. After it hits rolling size of 10M, the log is rotated, we can see the rotated error.log.2025_01_08 is created and error.log become 0 bytes. What comes next is that the log will continue writing at error.log.2025_01_08 instead of error.log . It will continue to do so until we restart lsws then it will write back at error.log we did continue with the test until log is rotated and notice it will create error.log.2025_01_08.01 and continue writing the log there instead of error.log

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

No branches or pull requests

1 participant