Vlogger

Aus crazylinux.de
Version vom 18. Juni 2007, 22:05 Uhr von Jonathan (Diskussion | Beiträge) (Die Seite wurde neu angelegt: from website:<br> vlogger is a little piece of code i wrote to handle dealing with large amounts of virtualhost logs. its bad news to let apache deal with these itself ...)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

from website:
vlogger is a little piece of code i wrote to handle dealing with large amounts of virtualhost logs. its bad news to let apache deal with these itself (ask anyone who runs a large webfarm about the interesting things apache does when it has 500 open logfiles) so vlogger was born. it takes piped output from apache, splits off the first field, and writes the logs to logfiles in subdirectories. it uses a file handle cache so it can't run out of file descriptors. it will also start a new logfile every night at midnight, and maintain a symlink to the most recent file. for security, it can drop privileges and do a chroot to the logs directory.

http://n0rp.chemlab.org/vlogger/