Re: rsyncd: having each log file for each module

This is a discussion on Re: rsyncd: having each log file for each module within the Rsync forums, part of the Networking and Network Related category; On Mon, Oct 03, 2005 at 12:43:00PM +0530, Muthu wrote: > I want to have the log files ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-03-2005
Wayne Davison
 
Posts: n/a
Default Re: rsyncd: having each log file for each module

On Mon, Oct 03, 2005 at 12:43:00PM +0530, Muthu wrote:
> I want to have the log files of all activity in separate files for
> each client instead of in the global log file.Can sombody help me.


The rsyncd.conf manpage mentions that the "log file" setting is a global
one, not a per-module one. So, the only way to have rsync output its
log messages to separate files (without changing rsync) would be to
start multiple daemons (each listening on a separate port) and have
each one only support a single module.

However, it's pretty easy to separate the log messages for a single
module out of a log-file that contains all the messages. There is now
a (brand new) perl script in the support directory that will output
the messages for any requested module:

http://rsync.samba.org/ftp/unpacked/...port/logfilter

That might make it unnecessary to maintain separate log files. If not,
you could use the script to split up the combo log-file into separate
files (one module at a time) or improve the script to output all the
modules into separate files in one pass.

...wayne..
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
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

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



All times are GMT +1. The time now is 03:27 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0