]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000803.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2000 / 000803.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Turning over logs with crontab?
5 </TITLE>
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">
12 </HEAD>
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
18 </A><BR>
19 <I>Thu Oct 5 11:54:56 PDT 2000</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000802.html">[IRCServices] Turning over logs with crontab?
22 </A></li>
23 <LI>Next message: <A HREF="000804.html">[IRCServices] Turning over logs with crontab?
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>You have my vote for that. :) I'm looking at log files that run into the
35 </I>&gt;<i>100's of megs, and it would be nice to shuffle them off to another place,
36 </I>&gt;<i>or automate it in some fashion.
37 </I>
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:
42
43 services.log -&gt; ./services.log.20001004
44 services.log.20001001
45 services.log.20001002
46 services.log.20001003
47 services.log.20001004
48
49 An optional setting to compress/move logfiles a week old (or so) would also
50 be helpful, I suspect.
51
52 Just my 2 pence...
53
54 --------------------------------------------------------------
55 from: Jonathan &quot;Chromatix&quot; 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>
58
59 The key to knowledge is not to rely on people to teach you it.
60
61 Get VNC Server for Macintosh from <A HREF="http://chromatix.autistics.org/vnc/">http://chromatix.autistics.org/vnc/</A>
62
63 -----BEGIN GEEK CODE BLOCK-----
64 Version 3.12
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-----
68
69
70
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 &quot;unsubscribe ircservices&quot; in the body, without the quotes.
74
75
76 </PRE>
77
78 <!--endarticle-->
79 <HR>
80 <P><UL>
81 <!--threads-->
82 <LI>Previous message: <A HREF="000802.html">[IRCServices] Turning over logs with crontab?
83 </A></li>
84 <LI>Next message: <A HREF="000804.html">[IRCServices] Turning over logs with crontab?
85 </A></li>
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>
91 </LI>
92 </UL>
93
94 </body></html>