Quantcast

wanted: cups print job log file example

$tinkle

Expert on blowing
Feb 12, 2003
14,591
6
for a migration project, one of our apps uses a cron to read log files & update a table with submitted jobs. it's pretty straight fwd pattern matching, as long as you know the pattern. *nothing* at cups.org advertises what you should expect in the log file when you submit a job, just 7 various log levels (error - debug2).

so, on solaris you'd see this in /var/lp/logs/requests (or whatever's in your .conf for syslog)
Code:
= check-22387, uid 1005, gid 10, size 3803, Sat May 29 18:54:44 2010
z check2
C 1
D check
F /var/spool/lp/tmp/localhost/22387-1
P 20
[b]T <path-to-file-submitted-for-print>[/b]
t simple
U <userid>
s 0x0010
anyone running RHEL, or any other flavor that uses cups?
 

$tinkle

Expert on blowing
Feb 12, 2003
14,591
6
i decided to go w/ the -m option for lp & write a rule in the .conf mail file

it's like that, y'all