logs (zmfilter.log etc) not in directory but piped to logger
Posted: Thu Nov 04, 2004 12:12 pm
Dear all,
as a great fan of logfiles I'm a bit unhappy about the way those ZM internal logfiles are handled.
Let me explain:
The main syslog (/var/log/messages) of my cameraserver is redirected to my main logserver. As is done with all my other servers. So I have one centralized logfile which is rotated and archived every night. Furthermore this daily logfile is processed by some scripts to extract and report unusal things etc.
So I would like the logs of ZM like 'zmfilter.log' also be piped to the syslog on the cameraserver.
I'm thinking of 2 different config possibilities:
- either using a directory for storage as it is now
- or pipe the output to ie. 'logger' so they go into /var/log/messages
That way one doesn't have to care about different locations for logs and rotating, processing them.
What do you think?
Uli
as a great fan of logfiles I'm a bit unhappy about the way those ZM internal logfiles are handled.
Let me explain:
The main syslog (/var/log/messages) of my cameraserver is redirected to my main logserver. As is done with all my other servers. So I have one centralized logfile which is rotated and archived every night. Furthermore this daily logfile is processed by some scripts to extract and report unusal things etc.
So I would like the logs of ZM like 'zmfilter.log' also be piped to the syslog on the cameraserver.
I'm thinking of 2 different config possibilities:
- either using a directory for storage as it is now
- or pipe the output to ie. 'logger' so they go into /var/log/messages
That way one doesn't have to care about different locations for logs and rotating, processing them.
What do you think?
Uli