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

Bug from #2439 still reproducible in the latest(1.14.0) version of Poco #4848

Open
tgavhane7 opened this issue Jan 14, 2025 · 0 comments
Open
Labels

Comments

@tgavhane7
Copy link

Description
I’ve encountered the same issue described in #2439, and it seems to still be reproducible in the latest version of Poco. The problem persists even after updating to the latest release, and I am able to consistently reproduce it.

Steps To Reproduce
logging.channels.c3.class = FileChannel
logging.channels.c3.path = /usr/data/abc.log
logging.channels.c3.rotation = 1M
logging.channels.c3.purgeCount = 2
logging.channels.c3.flush = false
logging.channels.c3.archive = number
logging.channels.c3.formatter = f1
logging.channels.c3.compress = true

Expected behavior
Expect that rotated log count is consistent when compression enabled.

Actual behavior
When FileChannel compression is enabled, we sometimes see only one file being retained instead of two.

OS Type and Version
Ubuntu 22.04.5 LTS

POCO Version
1.14.0

@tgavhane7 tgavhane7 added the bug label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant