Jolly Roger <
jolly...@pobox.com> wrote:
> On 2014-12-17, Jolly Roger <
jolly...@pobox.com> wrote:
> > Mac OS X 10.10.1
> > Mac Mini (Late 2012)
> > Canon ix6520
> >
> > I just noticed that the /var/log/cups/page_log log file is empty since I
> > upgraded to Mac OS X 10.10 (Yosemite) - even though I have printed since
> > then, and there were plenty of entries in there before the upgrade. I do
> > see messages in other log files in /var/log/cups, such as the access_log
> > and error_log. However I don't see any pertinent error messages in the
> > error log. As far as I can tell, the configuration files in /etc/cups do
> > have logging to this file configured correctly. So I'm not sure why print
> > jobs are no longer being logged there.
> >
> > Does anyone else running Yosemite has any entries in the
> > /var/log/cups/page_log file?
>
> I just restored a copy of /etc/cups from before the upgrade and don't
> see any obvious differences in cupsd.conf, cups-files.conf, or
> printers.conf.
>
> I'm starting to suspect this may be a Yosemite issue. Anyone else seeing
> this?
I'm using default OS X configuration for CUPS (never bothered looking
inside the files before), have done some printing since upgrading to
Yosemite (e.g. I can see a list of completed jobs in the print queue),
and I also have a zero length /var/log/cups/page_log. Its modification
time appears to be around the point I installed Yosemite.
My /etc/cups/cups-files.conf includes this line:
PageLog /private/var/log/cups/page_log
My /etc/cups/cupsd.conf includes this line:
PageLogFormat
With no format string, perhaps this suppresses the log output?
The same line appears in my /etc/cups/cups.conf.default, but there is no
"PageLogFormat" at all in my /etc/cups/cups.conf.pre-update (which dates
back to when I installed Mavericks).
I suspect this means my Mavericks system would have been logging pages
due to the default page log format being used (I don't have a clone
backup of it handy to check, which might not have that folder anyway),
but the blank PageLogFormat in Yosemite probably means that all output
to that file is suppressed, even though the file is being created.
It appears this was a deliberate choice by Apple. If so, an odd one - it
would make more sense to use PageLog with no parameter, which disables
page log generation, and omit the PageLogFormat line, allowing the
default format to be used if someone wanted to enable page logging
again.
--
David Empson
dem...@actrix.gen.nz