No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
greetings, i'm brand new to perl and trying to write a script to read a logfile for our weblogic server and write certain entries into a database table. the log file is a log4j weblogic log. here is a sample: [QUOTE]####<Jun 7, 2005 2:46:38 PM EDT> <Info> <Enterprise> <ga003sds> <tms1> … | |
Re: greetings, i know this is a perl forum, but we we rotate logs at my job using a ksh script on a cron every night at 11:59 pm: [PHP]#!/bin/ksh DATE=`date +%Y%m%d` FILES=`find /home/shared/logs/ \( -name \*.start -o -name \*.log \)` for logfile in $FILES do newlogfile=$logfile.$DATE CMD="cp $logfile $newlogfile" echo … |
The End.