Romain Slootmaekers <romain@zzict.com> writes:
Handling the log output should be _completely_ separated from Zope. what do you mean exactly by '_completely_ separated'
do you mean asynchronous handling ?
Completely separated means that it isn't Zope's job to care for rotating logs, filtering them and what else you could do to logs. There are lots of programs out there that are specialized in handling log data. We for example use a setup with the multilog program from Dan Bernsteins multilog package (see http://www.lightwerk.com/zope/logging) which separates the function from Zope. The motivation for separating log handling from Zope: - smaller code base (a little :) - don't reinvent the wheel - handling logs is done by other programs well enough - separation of functions improves security and stability So there must be (and are) ways to generate useful log output. But handling the generated output is really not the job of the Zope server itself. Regards, Frank
On 01 Mar 2002 16:27:18 +0100, Frank Tegtmeyer <fte@lightwerk.com> wrote:
Completely separated means that it isn't Zope's job to care for rotating logs, filtering them and what else you could do to logs. There are lots of programs out there that are specialized in handling log data.
We for example use a setup with the multilog program from Dan Bernsteins multilog package (see http://www.lightwerk.com/zope/logging) which separates the function from Zope.
Or the humble syslog, which is good enough to keep me happy at the moment. Im suprised we dont have more requests from the NT users for using the NT Event log. Toby Dickenson tdickenson@geminidataloggers.com
Toby Dickenson <tdickenson@geminidataloggers.com> wrote:
Or the humble syslog, which is good enough to keep me happy at the moment.
Except that syslog (with all its faults) is designed for reliable logging, which means that if you send to your log 1000 lines, syslog will sync 1000 times thus trashing your disks. For low volume logs I guess it's ok, but not in the general case. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com
Florent Guillaume writes:
Except that syslog (with all its faults) is designed for reliable logging, which means that if you send to your log 1000 lines, syslog will sync 1000 times thus trashing your disks. Decent "syslog" implementations (such as the one distributed with SuSE Linux) let you configure whether a log file will be synched after every message.
Dieter
participants (4)
-
Dieter Maurer -
Florent Guillaume -
Frank Tegtmeyer -
Toby Dickenson