cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CRONOLOG: Invoking cronolog from syslog.conf?



I'm guess Linux here.  I think you misunderstand the pipe semantics. 
The man page shows that the pipe is to a named pipe (created with
mkfifo), not a command name.

You would need to create the named fifo, then start cronolog on that
named pipe (for reading), then start syslogd to be the writer.

Untested, your mileage may vary.
-Alan

On Tue, 2004-05-25 at 09:08, Philipp Murkowsky wrote:
> Hello
> 
> Has anybody ever tried to invoke cronolog from syslog.conf? I have tried 
> to pipe syslog entries to cronolog by using something like
> 
> lpr.*              | /usr/sbin/cronolog /var/log/cups/pagelog-%Y.%m
> 
> in syslog.conf but it doesn't work.
> 
> TIA, Philipp
> 
> 
-- 
Alan Sparks, Sr. UNIX Administrator	asparks@xxxxxxxxx
Quris, Inc.				(720) 836-2058




Copyright © 1996-2004 Andrew Ford and Ford & Mason Ltd