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: cronolog without /bin/sh



I'm trying to find the best way to run cronolog without having to keep a copy
of /bin/sh in my Apache chroot.  Since Apache's external logging mechanism
requires it be there, |cronolog doesn't really work for me.  The two options

Are you sure?
That would mean, that i should have /bin/sh within my pstree, but apache seems to be the _direct_ parent of my cronlog processes, so no /bin/sh is running.


- Using named pipes, logging directly to them, and reading from them with cronolog. This seems basically the same as what |cronolog is doing, but doesn't need a shell. Can anyone tell me if there could be problems with this?

that would be the option that i would dislike the most.

- Using the cronolog module.  This has been in beta for quite a while, but
  seems like the "fewest moving parts" strategy.  What are the things that
  keep it considered a beta?

It won't work for Apache 2.0 as far as i know. is that correct? It might be consired as stable what Apache 1.3 concerns.

I'd be interested to hear if anyone is using either of these strategies on
large production sites.

i'm using piped-logs at the moment. (nothing special)



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