[cups] empty page_log file

Helge Blischke helgeblischke at web.de
Tue May 24 09:45:17 PDT 2016


> Am 24.05.2016 um 17:38 schrieb Spike <spike at drba.org>:
> 
> ...
> 
> does anybody have any example of what it takes to write to the page_log? I
> looked at other filters in /usr/lib/cups/filter and "textonly" has a bunch
> of echo "PAGE...." . is that it?
> 
> thanks,
> 
> Spike
> 

I’d suggest to set the logging level to debug (cupsctl —debug-logging),
do a test job, remember the job’s job-ID and then do
grep 'Job xxx‘ /var/log/cups/error_log 
(where xxx is the job-ID) and post the output
(either include the output as an attached .txt file (this is essential) of copy it
directly into the mail’s body).
This is needed to see what filters are called for the job. The page_log entries
are generated only by those filters (e.g. pstops) which keep track of the job’s
pages.

Helge




More information about the cups mailing list