Networking Forums

Networking Forums > Computer Networking > Linux Networking > rsync + syslog

Reply
Thread Tools Display Modes

rsync + syslog

 
 
Captain Dondo
Guest
Posts: n/a

 
      02-18-2007, 04:56 PM
I would like to remotely log rsync activity.

ISTR that at one time I had a version of rsync that logged to syslog, but
the version that comes with Debian Etch makes no mention of syslog...

rsync version 2.6.8 protocol version 29 Copyright (C) 1996-2006 by
Andrew Tridgell, Wayne Davison, and others.

Anyone have any idea how I go about setting up rsync to log via syslog?

Thanks,

--Yan
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      02-19-2007, 01:02 PM
In comp.os.linux.networking Captain Dondo <(E-Mail Removed)>:
> I would like to remotely log rsync activity.

[..]

rsync -avzr -e ssh localhost /path . 2>&1 | logger -p info

Dunno about your box, though this works on mine.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 391: We already sent around a notice about that.
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      02-19-2007, 01:05 PM
In comp.os.linux.networking Michael Heiming <michael+(E-Mail Removed)>:
> In comp.os.linux.networking Captain Dondo <(E-Mail Removed)>:
>> I would like to remotely log rsync activity.

> [..]


> rsync -avzr -e ssh localhost /path . 2>&1 | logger -p info


Slight correction, should be:

rsync -avzr -e ssh localhost:/path . 2>&1 | logger -p info

> Dunno about your box, though this works on mine.


> Good luck



--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 363: Out of cards on drive D:
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get log file for rsync operation? Does rsync also delete remote files? Goran Ivanic Linux Networking 9 05-05-2008 04:58 PM
Syslog parser wanted to replace Kiwi Syslog (win32) Jurgen.Turrekens@gmail.com Linux Networking 0 01-19-2006 01:08 PM
remote syslog LHradowy Linux Networking 2 10-22-2004 05:51 AM
Remote syslog tibo Linux Networking 6 10-12-2004 01:17 AM
Syslog Mike Linux Networking 3 02-08-2004 02:43 AM



1 2 3 4 5 6 7 8 9 10 11