aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cronolog/pkg-descr
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-01-22 03:10:03 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-01-22 03:10:03 +0000
commit61d7daff10a3fdf0d70ea2f4998f84fbefd9abbc (patch)
treed9f5f9510ce0f1b2997e37cbcd17a909366f0b47 /sysutils/cronolog/pkg-descr
parentf98adc4112f543354bb1b269b14a5711961c10f1 (diff)
Notes
Diffstat (limited to 'sysutils/cronolog/pkg-descr')
-rw-r--r--sysutils/cronolog/pkg-descr35
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/cronolog/pkg-descr b/sysutils/cronolog/pkg-descr
new file mode 100644
index 000000000000..4fba4e00e28c
--- /dev/null
+++ b/sysutils/cronolog/pkg-descr
@@ -0,0 +1,35 @@
+"cronolog" is a simple program that reads log messages from its input
+and writes them to a set of output files, the names of which are
+constructed using template and the current date and time. The
+template uses the same format specifiers as the Unix date command
+(which are the same as the standard C strftime library function).
+
+"cronolog" is intended to be used in conjunction with a Web server, such
+as Apache to split the access log into daily or monthly logs. For
+example the Apache configuration directives:
+
+ TransferLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log"
+ ErrorLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log"
+
+would instruct Apache to pipe its access and error log messages into
+separate copies of cronolog, which would create new log files each day
+in a directory hierarchy structured by date, i.e. on 31 December 1996
+messages would be written to
+
+ /www/logs/1996/12/31/access.log
+ /www/logs/1996/12/31/errors.log
+
+after midnight the files
+
+ /www/logs/1997/01/01/access.log
+ /www/logs/1997/01/01/errors.log
+
+would be used, with the directories 1997, 1997/01 and 1997/01/01 being
+created if they did not already exist.
+
+The most up-to-date version of "cronolog" can be found at:
+
+ WWW: http://www.ford-mason.co.uk/resources/cronolog/
+
+- Mark Blackman
+tmb@maddog.u-net.com