[cups] accounting to mysql database?
Michael Sweet
msweet at apple.com
Wed Jan 18 10:18:50 PST 2017
Use "syslog" as the PageLog filename, then all messages get sent to the system logging daemon (whatever it is).
> On Jan 18, 2017, at 12:12 PM, hw <hw at gc-24.de> wrote:
>
> G.W. Haywood schrieb:
>> Hi there,
>>
>> On Tue, 17 Jan 2017, hw at cups.org wrote:
>>
>>> Why can?t cups simply put the information it puts into the log file
>>> directly into a database.
>>
>> There's no need to make that mountain out of this particular molehill.
>>
>> Why can't you just use your existing system logging daemon, or better
>> still install syslog-ng, plus a simple shell/perl/whatever script?
>
> Syslog-ng is already in use. Cups bypasses it, writing its own
> log files.
>
> Would syslog-ng copy all messages to some program I can specify and not
> care if that program fails? If so, how would I make cups use syslog-ng?
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
_________________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list