my log script kicks bootie. here it is...

May 24, 2008 12:43PM
#VAR {nameforlogging} {insertnamehere}
#ALIAS {log} {#log off;#sys {echo "#var {logdate} {`date +%Y%m%d-%H%M`}" > logdate};#read {logdate};#var {logfile} {/home/inquisitor/public_html/logs/$nameforlogging-$logdate.html};#log {overwrite} {$logfile}} {5}

#nop And don't forget to start a new one every once in a while (1800 seconds), with

#TICKER {logrotate} {log} {1800}

#nop and if you want to be able to search the logs, for finger pointing purposes, I can post
#nop the cgi-bin script, too.
#nop this works on tintin on all platforms. just duplicate the directory structure in cygwin, if you're
#nop using windoze
#nop #nop is just like REM in DOS. You can copy this whole post into your tintin file.

#nop xoxo,
#nop inquisitor



Edited 3 time(s). Last edit at 05/24/2008 12:51PM by inquisitor.
Subject Author Posted

Auto-logger with truncating

langston May 09, 2008 06:02AM

my log script kicks bootie. here it is...

Inquisitor May 24, 2008 12:43PM

Couldn't you just do a cron job with like tintin++ > mm-dd-yy.log? n/t

Death_Claw May 09, 2008 11:59AM

Re: Couldn't you just do a cron job with like tintin++ > mm-dd-yy.log? n/t

langston May 15, 2008 09:03AM

Re: Auto-logger with truncating

TehSnarf(VIP) May 09, 2008 07:24AM

#alias {log} {#log %time(mm-dd-yy hh)-vidja-syslog.log}

Inquisitor May 24, 2008 12:48PM

#TICKER {logrotate} {log} {1800}

Inquisitor May 24, 2008 12:47PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 124
Record Number of Users: 5 November 04, 2022
Record Number of Guests: 358 August 31, 2022