<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Technical programming question (circular buffers & logging) --> <!--X-From-R13: Uert [vyyre <tzvyyreNpynffvp-tnzrf.pbz> --> <!--X-Date: Thu, 15 Jul 1999 15:05:26 -0700 --> <!--X-Message-Id: 378E4ECE.B0C0FFC0@classic-games.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 378D3F1B.3770856B#cyberhighway,net --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Technical programming question (circular buffers</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:gmiller#classic-games,com"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00913.html">Previous</a> | <a href="msg00915.html">Next</a> ] Thread: [ <a href="msg00901.html">Previous</a> | <a href="msg00911.html">Next</a> ] Index: [ <A HREF="author.html#00914">Author</A> | <A HREF="#00914">Date</A> | <A HREF="thread.html#00914">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Technical programming question (circular buffers & logging)</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Technical programming question (circular buffers & logging)</LI> <LI><em>From</em>: Greg Miller <<A HREF="mailto:gmiller#classic-games,com">gmiller#classic-games,com</A>></LI> <LI><em>Date</em>: Thu, 15 Jul 1999 16:12:46 -0500</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> Ben Greear wrote: > So, what I want to do is modify my logging class (basically just > an ofstream with some flags tacked on it). I was thinking about > making it a sort of ring-buffer where it just kept the last 50k > or some other nice round number. [snip] > I think I could write my own thing to do this, but I was wondering > if anyone knew of any tricks with files, or ready-built libraries > to do something like this... As I recall you're using UNIX/Linux for your real server? If you could reproduce the problem by yourself and have a WinNT box handy, you could use the the NT event log, which would do the job for you quite nicely. -- <A HREF="http://www.classic-games.com/">http://www.classic-games.com/</A> Conspiracy theorists mistakenly assume others think before acting. *** Please limit .sigs to four lines and avoid HTML mail or posts. *** _______________________________________________ MUD-Dev maillist - MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00901" HREF="msg00901.html">[MUD-Dev] Technical programming question (circular buffers & logging)</A></STRONG> <UL><LI><EM>From:</EM> Ben Greear <greear#cyberhighway,net></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00913.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00915.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00901.html">[MUD-Dev] Technical programming question (circular buffers & logging)</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00911.html">Re: [MUD-Dev] Technical programming question (circular buffers & logging)</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00914"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00914"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>Re: [MUD-Dev] an idea..wondering if this has been done</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00928" HREF="msg00928.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, Bruce Mitchener, Jr. <a href="mailto:bruce#cybersight,com">bruce#cybersight,com</a>, Fri 16 Jul 1999, 22:35 GMT <UL> <LI><strong><A NAME="00929" HREF="msg00929.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, Joey Hess <a href="mailto:joey#kitenet,net">joey#kitenet,net</a>, Sat 17 Jul 1999, 02:56 GMT <UL> <LI><strong><A NAME="00931" HREF="msg00931.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, bruce <a href="mailto:bruce#puremagic,com">bruce#puremagic,com</a>, Mon 19 Jul 1999, 16:47 GMT </LI> </UL> </LI> </UL> </LI> </ul> </LI> <LI><strong><A NAME="00901" HREF="msg00901.html">[MUD-Dev] Technical programming question (circular buffers & logging)</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 15 Jul 1999, 02:34 GMT <UL> <LI><strong><A NAME="00914" HREF="msg00914.html">Re: [MUD-Dev] Technical programming question (circular buffers & logging)</A></strong>, Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Thu 15 Jul 1999, 22:05 GMT </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00911" HREF="msg00911.html">Re: [MUD-Dev] Technical programming question (circular buffers & logging)</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 15 Jul 1999, 18:24 GMT <UL> <LI><strong><A NAME="00922" HREF="msg00922.html">Re: [MUD-Dev] Technical programming question (circular buffers & logging)</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 16 Jul 1999, 02:06 GMT </LI> </UL> </LI> <LI><strong><A NAME="00917" HREF="msg00917.html">Re: [MUD-Dev] Technical programming question (circular buffers & logging)</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 16 Jul 1999, 00:42 GMT <UL> <LI><strong><A NAME="00927" HREF="msg00927.html">Re: [MUD-Dev] Technical programming question (circular buffers & logging)</A></strong>, Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Fri 16 Jul 1999, 19:05 GMT </LI> </UL> </LI> </UL> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>