Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #67687

Re: Yosemite and /var/log/cups/page_log

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Yosemite and /var/log/cups/page_log
Date 17 Dec 2014 22:26:31 GMT
Organization People for the Ethical Treatment of Pirates
Lines 72
Message-ID <cfee8nFc2ssU1@mid.individual.net> (permalink)
References <cfe20iF8ti0U1@mid.individual.net> <cfe2j9F8ti0U2@mid.individual.net> <1lwuil6.ppwdyg1dzq41gN%dempson@actrix.gen.nz>
X-Trace individual.net z6Z7qBCiOAQUSXOEYkfnyA+wxbb0mYxCFcj17AIqRCqPHhgvgR
Cancel-Lock sha1:3GmRphpzCUnqKaXIRg4j1E2pg8Q=
X-Face _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1<n@LQ!aZ7vLO_nWbK~@T'XIS0,oAJcU.qLM dk/j8Udo?O"o9B9Jyx+ez2:B<nx(k3EdHnTvB]'eoVaR495,Rv~/vPa[e^JI+^h5Zk*i`Q;ezqDW< ZFs6kmAJWZjOH\8[$$7jm,Ogw3C_%QM'|H6nygNGhhl+@}n30Nz(^vWo@h>Y%b|b-Y~()~\t,LZ3e up1/bO{=-)
User-Agent slrn/1.0.1 (Darwin)
Xref csiph.com comp.sys.mac.system:67687

Show key headers only | View raw


On 2014-12-17, David Empson <dempson@actrix.gen.nz> wrote:
> Jolly Roger <jollyroger@pobox.com> wrote:
>
>> 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

Mine too.

> My /etc/cups/cupsd.conf includes this line:
>
> PageLogFormat
>
> With no format string, perhaps this suppresses the log output?

Mine too.

Apparently in my haste earlier, I misread the diff report, which
outlined this change! Thank you for pointing this out to me!

> 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.

It is strange that they would do it that way rather than the way you
describe, which is how I would probably go about it myself. 

I wonder why they bothered to disable it at all, considering you still
get a list of completed jobs elsewhere, and even in the GUI layer.

I would prefer to keep logging print jobs to an easily-accessible log
file because I have a script that runs periodically that grabs the last
line of the log to determine how long it's been since I last printed
anything. If I haven't printed anything in more than a couple months, it
reminds me to print something (to avoid allowing the heads to dry out).
The script reported the log was empty.

I just commented the PageLogFormat line in cupsd.conf, restarted the
org.cups.cupsd launch daemon, and sure enough, logging has resumed!

Thanks again, David! : )

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Yosemite and /var/log/cups/page_log Jolly Roger <jollyroger@pobox.com> - 2014-12-17 18:57 +0000
  Re: Yosemite and /var/log/cups/page_log Jolly Roger <jollyroger@pobox.com> - 2014-12-17 19:07 +0000
    Re: Yosemite and /var/log/cups/page_log Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-12-17 21:16 +0000
      Re: Yosemite and /var/log/cups/page_log Jolly Roger <jollyroger@pobox.com> - 2014-12-17 22:29 +0000
        Re: Yosemite and /var/log/cups/page_log Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-12-18 04:15 +0000
          Re: Yosemite and /var/log/cups/page_log Jolly Roger <jollyroger@pobox.com> - 2014-12-18 14:48 +0000
    Re: Yosemite and /var/log/cups/page_log dempson@actrix.gen.nz (David Empson) - 2014-12-18 10:51 +1300
      Re: Yosemite and /var/log/cups/page_log Jolly Roger <jollyroger@pobox.com> - 2014-12-17 22:26 +0000
      Re: Yosemite and /var/log/cups/page_log JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-12-17 18:32 -0500
        Re: Yosemite and /var/log/cups/page_log Jolly Roger <jollyroger@pobox.com> - 2014-12-17 23:34 +0000

csiph-web