🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: best.general
Article #289

Re: More on web log files

#289
From: Malcolm Hoar
Date: Mon, 26 Nov 2001 00:04
37 lines
2330 bytes
In article <9trjbb$n4q$1@nntp1.ba.best.com>, pwinter@best.com (Patty Winter) wrote:
>So I sent a note to Verio Support asking for them, and just got
>a reply that they're only available to users of the VPS system.
>Those of us on the low-cost accounts all share the same config
>file that doesn't include that information. :-(

Well, for pages (versus images) you can always throw
a simple SSI into every document and have it write the
log file in whatever format you want. It's perfectly
silly for Verio to encourage such inefficiency but
there you go...

>Has anyone found a way to split those big access logs into
>separate days? 

Yeah, that's simple enough. Just run the script:

~/www/bin/rotate_logs

from a daily crontab.

It's just a simple shell script so you can hack it
around if you don't like their (ugly) file naming
conventions and/or want to make other mods/additions.
I looked at it and then rolled a little crontab of my
own to handle the rotations the way I like 'em, run
some analog reports etc.

Speaking of analog... don't bother with their old
and hacked version. Just download 5.1 and make.
It doesn't take much disk esp. if you delete the 
*.o files (and even *.c if you're really pushed).

-- 
Malcolm Hoar
malch@malch.com
Kant spell Neetchie
Technical Details
Message-ID: <9ts0u5$ngq$1@nntp1.ba.best.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news2.best.com!nntp1.ba.best.com!malch
References: <9trjbb$n4q$1@nntp1.ba.best.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9f6d,35114d4ad3ed1d80
X-Google-Attributes: gidf9f6d,public
X-Google-Thread: fdc27,35114d4ad3ed1d80
X-Google-Attributes: gidfdc27,public
X-Google-ArrivalTime: 2001-11-25 16:04:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news2.best.com!nntp1.ba.best.com!malch
From: malch@malch.com (Malcolm Hoar)
Newsgroups: best.general,best.migration
Subject: Re: More on web log files
Date: Mon, 26 Nov 2001 00:04:23 GMT
Organization: Malch Enterprizes
Lines: 38
Distribution: best
Message-ID: <9ts0u5$ngq$1@nntp1.ba.best.com>
References: <9trjbb$n4q$1@nntp1.ba.best.com>
NNTP-Posting-Host: adsl-64-172-54-82.dsl.snfc21.pacbell.net
X-Trace: nntp1.ba.best.com 1006733061 24090 64.172.54.82 (26 Nov 2001 00:04:21 GMT)
X-Complaints-To: abuse@best.com
NNTP-Posting-Date: Mon, 26 Nov 2001 00:04:21 +0000 (UTC)
X-Newsreader: News Xpress 2.01