🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #294

Re: is this too much to handle for VB ?

#294
From: John Steele
Date: Tue, 28 Dec 1999 00:00
62 lines
3295 bytes
how about, if your program read's the log edit's it then rewrite's it i
dunno every hour or so ?
Just a thought.

--
----
John Steele rsteele@bigpond.net.au
http://www.users.bigpond.net.au/DarkAngel/
----
Nick Jensen <race.nkj@get2net.dk> wrote in message
news:C4W94.630$iq6.977@news.get2net.dk...
> No Unfortunately I dont have control of the
> program that writes the logfile, in that case I wouldn't have
> this problem at all
>
>
> Anything other suggestions ?
>
>
>
> Da-Shar <johnlee128@hotmail.com> skrev i en
> nyhedsmeddelelse:8495nn$mo4$1@oak.prod.itd.earthlink.net...
> > If you have control over the program which creates the log file, I would
> > suggest that the log file be written in fixed length record.  You may
> waste
> > some space, but you gain a lot of speed.  With fixed length record, you
> > should be able to jump to the record you wanted.
> >
> > Please read the help on Put/Get statement.
> >
> > Nick Jensen <race.nkj@get2net.dk> wrote in message
> > news:g5S94.514$iq6.800@news.get2net.dk...
> > > At my work there's a little application running 24 hours 365 days of
the
> > > year
> > > always writing a log file of some radio "data" transmission. I'ts all
> > doing
> > > a
> > > nice job, except for a few lines in the log needs to be processed by
> some
> > > 3rd party software (which I'm working on :)). The problem is really
the
> > log
> > > file itself , which is VERY large !, around 43.000 lines every 24
hours,
> > of
> > > course depending on the radio "Traffic" !. Every time a new line is
> > > written to the log file I want my little program called "Logwatcher"
to
> > read
> > > the line !, let's say the logfile is 33.000 lines BIG, and now is
> written
> > > lines 33.000 to 33.017 , I want to read only the last added 17 lines
??
> > >
> > > How can I Do that , in smart and FAST way ??
> >
> >
> >
> >
>
>
Technical Details
Message-ID: <16Z94.2876$lv5.18359@news-server.bigpond.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <g5S94.514$iq6.800@news.get2net.dk> <8495nn$mo4$1@oak.prod.itd.earthlink.net> <C4W94.630$iq6.977@news.get2net.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101986,a47ce68fa8298b9d
X-Google-Attributes: gid101986,public
X-Google-Thread: f5f6f,a47ce68fa8298b9d
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: f645d,a47ce68fa8298b9d
X-Google-Attributes: gidf645d,public
X-Google-Thread: f51ba,a47ce68fa8298b9d
X-Google-Attributes: gidf51ba,public
X-Google-Thread: fb992,a47ce68fa8298b9d
X-Google-Attributes: gidfb992,public
X-Google-Thread: 110e3b,a47ce68fa8298b9d
X-Google-Attributes: gid110e3b,public
From: "John Steele" <rsteele@bigpond.net.au>
Subject: Re: is this too much to handle for VB ?
Date: 1999/12/28
Message-ID: <16Z94.2876$lv5.18359@news-server.bigpond.net.au>
X-Deja-AN: 565574282
References: <g5S94.514$iq6.800@news.get2net.dk> <8495nn$mo4$1@oak.prod.itd.earthlink.net> <C4W94.630$iq6.977@news.get2net.dk>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Complaints-To: news@bigpond.net.au
X-Trace: news-server.bigpond.net.au 946363901 24.192.89.124 (Tue, 28 Dec 1999 17:51:41 EST)
Organization: BigPond Internet Services (http://www.bigpond.net.au)
X-MSMail-Priority: Normal
NNTP-Posting-Date: Tue, 28 Dec 1999 17:51:41 EST
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.misc,comp.lang.visual.basic,dk.edb.programmering.basic.visual-basic,microsoft.public.vb