Viewing print logs, Archiving print logs – Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 333
Print Service
333
Viewing Print Logs
Print service has two kinds of logs: print service and print queue. Print service logs record
such events as when print service was started and stopped and when a print queue was put
on hold. Separate logs for each print queue record individual print jobs, including such
information as which users submitted jobs for particular printers and the size of the jobs.
You can view the print service logs using Server Status.
To view print service logs using Server Status:
1
In Server Status, locate the name of the server you want to monitor in the Devices & Services
list and select Print in the list of services under the server name. If the services aren’t visible,
click the arrow to the left of the server name.
2
Click the Logs tab to see print service logs for the system and for individual print queues.
Use the Show pop-up menu to choose which log to view.
Archiving Print Logs
As noted, print service maintains two kinds of logs: a print service log and a log for each
print queue. You can specify how often you want to archive the logs and start new ones. All
logs, both current and archived, are kept in the /Library/Logs/PrintService folder. Archived
files are kept until they are manually deleted by the server administrator.
To specify how often to archive print logs:
1
In Server Settings, click the File & Print tab.
2
Click Print and choose Configure Print Service.
3
Select “Server log” and enter a number of days to specify how often you want to archive the
print service log and start a new log.
The current log file name is PrintService.server.log. Archived print service log files have the
archive date appended (for example, PrintService.server.log.20021231).
4
Select “Queue logs” and enter a number of days to specify how often you want to archive
each print queue log and start a new one.
The log files are stored in /Library/Logs/PrintService. Individual log files are named after the
print queues (for example, PrintService.myqueue.job.log). Archived print queue log files
have the archive date appended (for example, PrintService.myqueue.job.log.20021231).
You can view current log files using Server Status.
You can use the log rolling scripts supplied with Mac OS X Server to reclaim disk space used
by log files. See “Log Rolling Scripts” on page 555.