-
Notifications
You must be signed in to change notification settings - Fork 464
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
CUPS is too chatty about "Removing document files." in debug mode #5597
Comments
@akorobkin Hmm, not sure what is going on there, but will investigate. Is this with stock CUPS or with patches? |
This is with standard patches from a Debian installation, https://packages.debian.org/sid/cups |
(Issue #5597) (may be Debian-specific, as I was unable to duplicate - the extra check is in place in case file_time is reset)
OK, I don't see how this would happen (remove_job_files clears job->file_time, so it should not be called again), so I've updated the code to also look at the "num_files" member. [master 6647894] Fix potential excess logging from the scheduler when removing job files (Issue #5597) (not bothering to backport this to 2.2.x, but the fix is trivial and you can feel free to do so under the old CUPS license...) |
Worked like a charm:
|
Hi, just to notice - same behaviour on SLES12. cupsd:2.2.13 ( mentioned bugfix not backported ) MaxJobs 0
MaxJobTime 0
MaxHoldTime 60
PreserveJobFiles No
PreserveJobHistory 60
|
CUPS 2.2.11 on Linux reports "Removing document files" for every job many times per second for every job for many days since the job was printed. It seems to correlate with the period of time that control file is still sitting in /var/spool/cups. The data file is no longer there because PreserveJobFiles is set to Off.
The text was updated successfully, but these errors were encountered: