Job completition tracing

Kurt Pfeifle kpfeifle at danka.de
Wed Jun 28 09:03:14 PDT 2006


Kurt Pfeifle <kpfeifle at danka.de> wrote (Wednesday 28 June 2006 17:51):

> However, that line only shows up in "LogLevel debug" mode. If you
> think it would be a good thing to have that message even in "info"
> LogLevel, file a feature request at http://www.cups.org/str.php
> and see if you can convince Mike about it.

If you need a "job complete" message in the error_log file running 
in "LogLevel info" very badly and short term, you have to change the 
sources and recompile.

Go to file scheduler/job.c, line 434, which reads:

  cupsdLogMessage(CUPSD_LOG_DEBUG, "[Job %d] File %d is complete.",

and change it to

  cupsdLogMessage(CUPSD_LOG_INFO, "[Job %d] File %d is complete.",

Patch (made against current trunk/r5701) attached.

Cheers,
Kurt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: job.c.patch
Type: text/x-diff
Size: 502 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20060628/7199de6f/attachment-0001.bin>


More information about the cups mailing list