🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15596

Trimming file

#15596
From: Lapo
Date: Sat, 21 Jun 2003 20:48
11 lines
1150 bytes
Hi all,
I'm coding a simple HTTP server using Indy.
I added a TMemo to display server status.
Now I added the possibility to save the Memo log in a logfile.
The problem is that this logfile will be big after some time, so I would
like to trim it to remain under a predefined size.
Any tip?

Thanks in advance.

Lapo
Technical Details
Message-ID: <3ef4c43e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2284525cda09a7d2,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-21 13:51:20 PST
From: "Lapo" <lapoguidi@inwind.it>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Trimming file
Date: Sat, 21 Jun 2003 22:48:53 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.98.149.76
Message-ID: <3ef4c43e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056228414 62.98.149.76 (21 Jun 2003 13:46:54 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail