Specifications

Chapter 10 Working with the Print Service 175
Viewing Print Service Log Files and Log Paths
To view the contents of the Print service logs and to view log paths, use tail or
another file-listing tool.
To view the latest entries in a log:
$ tail
log-file
The following are log files for 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)
To see where current logs are located, use the serveradmin getLogPaths command.
To view 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.