Rsync uses the fork() system call to spawn a process that does most of the actual work. I believe the first message is from the parent and the second message is from the fork()'d child. Many of the variables in rsync are global so they can be copied from the parent to the child process, you may wish to save the connecting hostname into a temporary buffer which you would write out from the child process (with it's child process id) or log another message from the parent after forking (fork returns the child's process id).
-jake ----- Original Message ----- From: "Charlot sur Prolectronic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 1:01 AM Subject: Log format > Hello, > > I give you a little log format sample that I receive on the > /var/log/rsyncd.log on the master server that receive data from > a client : > > 2002/07/07 19:48:29 [15226] rsync to cfps from UNKNOWN (153.109.45.20) > 2002/07/07 20:17:42 [15257] wrote 32 bytes read 1584410 bytes total size > 5168179783 > > my problem : the ID task in the braket [] is not the same from the beginning > and the end of the transfert, > for control if the sync is good when we have difficult with few rsync task > > any can say me how to obtain the same ID for all the task or wich can I > modify the log format on the rsync server ? > > many thanks for your help > > balet charles-henri > > > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html > -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html