<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Cronolog</id>
		<title>Cronolog - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Cronolog"/>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Cronolog&amp;action=history"/>
		<updated>2026-04-07T22:01:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Cronolog&amp;diff=10973&amp;oldid=prev</id>
		<title>Jimbo at 21:56, 3 January 2009</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Cronolog&amp;diff=10973&amp;oldid=prev"/>
				<updated>2009-01-03T21:56:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''cronolog''' is a utility intended to make log rotation with Apache easy.  Generally, one invokes cronolog in a '''piped log''' Log directive in httpd.conf or one of its includes.&lt;br /&gt;
&lt;br /&gt;
example:&lt;br /&gt;
&lt;br /&gt;
 CustomLog &amp;quot;|/usr/local/sbin/cronolog --symlink=/data/websites/freebsdwiki.net/logs/httpd-access.log  /data/websites/freebsdwiki.net/logs/httpd-access.%Y-%m.log&amp;quot; combined&lt;br /&gt;
 ErrorLog  &amp;quot;|/usr/local/sbin/cronolog --symlink=/data/websites/freebsdwiki.net/logs/httpd-error.log   /data/websites/freebsdwiki.net/logs/httpd-error.%Y-%m.log&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This would cause logging to be automatically split in monthly logs in the format httpd-access.YYYY.MM.log and httpd-error.YYYY.MM.log, with symlinks automatically maintained from httpd-access.log and httpd-error.log to the newest of those logfiles.  [[Newsyslog]] entries and/or cron jobs are not required, '''cronolog''' does all the work itself.&lt;br /&gt;
&lt;br /&gt;
You might, of course, wish to consider cooking up a script invoked once per logging period to automatically [[bzip]] or [[gzip]] old log files.&lt;br /&gt;
&lt;br /&gt;
[[Category: Ports and Packages]] [[Category: FreeBSD for Servers]]&lt;/div&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	</feed>