LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2006, 04:19 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
rsync log


I have got rsync V2.6.2 running on a few netware clients that sync file to a Suse Enterprise Server 9. In suse rsync is running as a daemon and on Netware I run a Perl script as a cron job. I want to get logs for individual servers. Currently all rsync logs are going to

/var/log/rsyncd.log and the /etc/rsyncd.conf file looks like this -

Code:
uid = myrsync
max connections = 0
read only = false
use chroot = false
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log

[Client1]
        path = /path/to/client1
        comment = client1
        read only = no
        use chroot = no
        timeout = 3600
        transfer logging = yes

[Client2]
        path = /path/to/client2
        comment = client2
        read only = no
        use chroot = no
        transfer logging = yes
        timeout = 3600
I want seperate log for client1 and client2 in /var/log/client1 and /var/log/client2 respectively.

Last edited by noir911; 08-20-2006 at 04:21 AM.
 
Old 08-20-2006, 04:31 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
I think you would need to start multiple daemons for that. The alternative would be to grep through the main log file for the ip addresses of the remote machines and create more specific logs in each directory from that output.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change Debian log rotation of syslog and daemon.log onmountain Linux - Newbie 2 07-31-2008 02:27 AM
Opennms Logs - where are web.log, web_rtc.log and webauth.log referenced? not_much_of_a_guru Linux - Networking 0 07-12-2006 10:28 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Strange results in /var/log/apache/access.log subt13 Linux - Security 2 08-03-2004 01:21 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration