sean finney on 11 Sep 2004 19:43:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Getting only today's logs


On Fri, Sep 10, 2004 at 04:37:11PM -0400, Sarod Yatawatta wrote:
> rsync -avz remote_location local_location
> 
> will only copy files modified at the remote location. It will do the
> compression as well.

unfortunately, if he's rotating logs once a day, and transferring logs
once a day, this won't help him at all, because every time he runs
rsync every logfile will have completely changed.  he's just as well
off running scp.

On Fri, Sep 10, 2004 at 04:38:37PM -0400, Paul wrote:
> I was just reading about swatch.  It might be fun to play with.  It 
> should do what you want, unless what you really want to do is make your 
> own script.

swatch is for reading syslog, not apache web logs.  it also sucks at
reading syslogs on any kind of large scale, but that's a different story
:)


	sean

Attachment: signature.asc
Description: Digital signature