httplog is a replacement for Apache's 'rotatelogs' and Andrew Ford's 'chronolog'. It allows you to specify a logfile using strftime paramaters in the filename to act as a template. This means that the logs in your logfiles will also be sorted according to the filename. For example, if you specify a logfile of /var/log/http%Y%m%d.log, a new log file would be generated each day, with content for only that one day. It also supports compression of logfiles using gzip, and many other useful functions.
| Tags | Internet Web Site Management Archiving Logging HTTP Servers backup Compression Utilities |
|---|---|
| Operating Systems | POSIX BSD Linux Solaris |
| Implementation | C |
Recent releases


Changes: Possible segfault issues if fopen() or malloc() calls failed have been fixed.


Changes: This release includes many fixes to the configure script, and should compile fine on Solaris now. It has switched to using syserror(), and there are other minor code changes.


Changes: A feature to create a symlink to the currently active logfile was added and the .spec file was readded to allow creation of a .rpm.


Changes: A bug with the full buffering mode was fixed, some %? expandoes for hostname info were added, and some code was cleaned up.


Changes: The program's reaction to SIGTERM was changed to flushing and exiting. The buffer size (-b) option was changed to be an absolute buffer size value. An errno code was added along with normal errors. The name of MAX_STDIN was changed to BUFSIZ and MAX_PATH was changed to PATH_MAX. SIGCHLD is now caught to clean up the zombie processes. An RPM .spec file was added.
- All comments
Recent commentsGreat Tool
httplog is a great tool - significantly more flexible than Apache's rotatelogs and very easy to install and configure.
autoconf configure script
Anyone willing to 'donate' an autoconf configure script thingy (and related other thingies to make it all work)? I have no idea how to work that stuff, and even though there's not much to really check for, it would be nice to have.
Email me if you would like to help!