1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Turning over logs with crontab?
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Turning%20over%20logs%20with%20crontab%3F&In-Reply-To=KOECIOCHHBHLAPFLOBANAEGGCOAA.frostbyghte%40stratics.com">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000802.html">
11 <LINK REL=
"Next" HREF=
"000804.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Turning over logs with crontab?
</H1>
15 <B>Jonathan Morton
</B>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Turning%20over%20logs%20with%20crontab%3F&In-Reply-To=KOECIOCHHBHLAPFLOBANAEGGCOAA.frostbyghte%40stratics.com"
17 TITLE=
"[IRCServices] Turning over logs with crontab?">chromi at cyberspace.org
19 <I>Thu Oct
5 11:
54:
56 PDT
2000</I>
21 <LI>Previous message:
<A HREF=
"000802.html">[IRCServices] Turning over logs with crontab?
23 <LI>Next message:
<A HREF=
"000804.html">[IRCServices] Turning over logs with crontab?
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#803">[ date ]
</a>
27 <a href=
"thread.html#803">[ thread ]
</a>
28 <a href=
"subject.html#803">[ subject ]
</a>
29 <a href=
"author.html#803">[ author ]
</a>
34 <PRE>><i>You have my vote for that. :) I'm looking at log files that run into the
35 </I>><i>100's of megs, and it would be nice to shuffle them off to another place,
36 </I>><i>or automate it in some fashion.
38 Here's my idea. At midnight, start a new logfile (eg.
39 services.log.YYYYMMDD), close the old one, and update a symlink
40 (services.log) to point to the latest logfile. After a few days' running,
41 the log directory would look like this:
43 services.log -
> ./services.log
.20001004
49 An optional setting to compress/move logfiles a week old (or so) would also
50 be helpful, I suspect.
54 --------------------------------------------------------------
55 from: Jonathan
"Chromatix
" Morton
56 mail:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">chromi at cyberspace.org
</A> (not for attachments)
57 uni-mail:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">j.d.morton at lancaster.ac.uk
</A>
59 The key to knowledge is not to rely on people to teach you it.
61 Get VNC Server for Macintosh from
<A HREF=
"http://chromatix.autistics.org/vnc/">http://chromatix.autistics.org/vnc/
</A>
63 -----BEGIN GEEK CODE BLOCK-----
65 GCS$/E/S dpu(!) s:- a19 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
66 PE- Y+ PGP++ t-
5- X- R !tv b++ DI+++ D G e+ h+ r- y+
67 -----END GEEK CODE BLOCK-----
71 ---------------------------------------------------------------
72 To unsubscribe, send email to
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org
</A>
73 with
"unsubscribe ircservices
" in the body, without the quotes.
82 <LI>Previous message:
<A HREF=
"000802.html">[IRCServices] Turning over logs with crontab?
84 <LI>Next message:
<A HREF=
"000804.html">[IRCServices] Turning over logs with crontab?
86 <LI> <B>Messages sorted by:
</B>
87 <a href=
"date.html#803">[ date ]
</a>
88 <a href=
"thread.html#803">[ thread ]
</a>
89 <a href=
"subject.html#803">[ subject ]
</a>
90 <a href=
"author.html#803">[ author ]
</a>