Apple Mac OS X Server Network Card User Manual


 
Chapter 10 Working with the Print Service 169
Viewing Print Service Log Files
You can use tail or any other file-listing tool to view the contents of the print service
logs.
To view the latest entries in a log:
$ tail
log-file
The following are the log files for the Print Service:
 /var/log/cups/error_log (CUPS general message log)
 /var/log/cups/access_log (CUPS access log)
 /var/log/cups/page_log (CUPS page log)
 /Library/Logs/PrintService/PrintService.admin.log (Server Admin Print log: logs all
Print administrative actions issued from Server Admin)
 /Library/Logs/atprintd/<queue-id>.spool.log (AppleTalk spool logs—1 per shared
AppleTalk queue)
You can use the serveradmin getLogPaths command to see where the current logs are
located.
To display the log paths:
$ sudo serveradmin command print:command = getLogPaths
The computer responds with the following output:
print:logPathsArray:_array_index:0:name = "Print Service Admin log"
print:logPathsArray:_array_index:0:path = "/Library/Logs/PrintService/
PrintService_admin.log"
print:logPathsArray:_array_index:1:name = "CUPS: error_log"
print:logPathsArray:_array_index:1:path = "/var/log/cups/error_log"
print:logPathsArray:_array_index:2:name = "CUPS: access_log"
print:logPathsArray:_array_index:2:path = "/var/log/cups/access_log"
print:logPathsArray:_array_index:3:name = "CUPS: page_log"
print:logPathsArray:_array_index:3:path = "/var/log/cups/page_log"
Viewing Cover Pages
To obtain a list of available cover pages:
$ sudo serveradmin settings print:coverPageNames
This returns a read-only list of permitted values for this setting. The value “none” is not
listed as a cover page name, but is used to disable the cover page feature for the
selected print queue.