]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001504.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001504.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Rotate Log function - performance
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Rotate%20Log%20function%20-%20performance&In-Reply-To=LPBBJLDCHCNGAKLLJFKNOEDMCEAA.markh%40eurodltd.co.uk">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001503.html">
11 <LINK REL="Next" HREF="001505.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Rotate Log function - performance</H1>
15 <B>Andy Smith</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Rotate%20Log%20function%20-%20performance&In-Reply-To=LPBBJLDCHCNGAKLLJFKNOEDMCEAA.markh%40eurodltd.co.uk"
17 TITLE="[IRCServices] Rotate Log function - performance">andy at strugglers.net
18 </A><BR>
19 <I>Tue Feb 27 00:16:01 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001503.html">[IRCServices] Rotate Log function - performance
22 </A></li>
23 <LI>Next message: <A HREF="001505.html">AW: [IRCServices] Rotate Log function - performance
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1504">[ date ]</a>
27 <a href="thread.html#1504">[ thread ]</a>
28 <a href="subject.html#1504">[ subject ]</a>
29 <a href="author.html#1504">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>On Mon, 26 Feb 2001 21:57:30 -0000, &quot;Mark Hetherington&quot;
35 &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">markh at eurodltd.co.uk</A>&gt; wrote:
36
37 &gt;<i>I am considering adding a rotate log function to services (and to the ircd
38 </I>&gt;<i>but that is beyond the scope of this list) which will automatically rotate
39 </I>&gt;<i>the log each day at Midnight but am looking for a low/no performance impact
40 </I>&gt;<i>determination that Midnight has occured.
41 </I>
42 Not a complete solution but just a suggestion:
43
44 Does it really matter to you if it is exactly midnight?
45
46 Surely you can simply check that it is the &quot;next day&quot; and the log has not
47 yet been rotated? This then will allow you to rotate the log as close to
48 midnight as you wish without needing to run something every second.
49
50 I just think for the purposes of log rotation, a few minutes either way is
51 not going to matter to you.
52
53 --
54 Andy Smith &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">andy at strugglers.net</A>&gt;
55
56
57 </PRE>
58
59 <!--endarticle-->
60 <HR>
61 <P><UL>
62 <!--threads-->
63 <LI>Previous message: <A HREF="001503.html">[IRCServices] Rotate Log function - performance
64 </A></li>
65 <LI>Next message: <A HREF="001505.html">AW: [IRCServices] Rotate Log function - performance
66 </A></li>
67 <LI> <B>Messages sorted by:</B>
68 <a href="date.html#1504">[ date ]</a>
69 <a href="thread.html#1504">[ thread ]</a>
70 <a href="subject.html#1504">[ subject ]</a>
71 <a href="author.html#1504">[ author ]</a>
72 </LI>
73 </UL>
74
75 </body></html>