Package: rsync Version: 3.0.3-2 Severity: normal
According I want a detailled log file for every changes and a summary output log. 1- Without -i (as for me to say, the 'normal way') When calling rsync with these options : rsync -azH --stats --delete --log-file="/path/to/detailled.log" --log-file-format="%i %o %f" /path/to/source u...@server:/path/to/dest >> /path/to/output.log -> When a file is deleted on the client side, after a rsync run its deletion does not appears in any of the detailled.log nor the output.log. I only have the 'classic' transfer information in detailled.log according to the --log-file-format option : AAAA/MM/DD HH:MM:SS [RSYNCPID] <f.st...... send path/to/ModifiedTransferredFile And the directory containing the deleted file has .d..t...... (time change) Note : in the output.log, only the summary as expected (--stats) 2- With -i (which is a redondant option for me) rsync -aizH --stats --delete --log-file="/path/to/detailled.log" --log-file-format="%i %o %f" /path/to/source u...@server:/path/to/dest >> /path/to/output.log -> When a file is deleted, i have in both logs the information of its deletion : -- detailled.log -- AAAA/MM/DD HH:MM:SS [RSYNCPID] *deleting del. path/to/DeletedFile -- output.log -- *deleting path/to/DeletedFile But now, in the output.log, I also have all the transfered files' information... -> I think the %i directive in the --log-file-format isn't working well Cheers Vincent -- System Information: ----------------- -- CLIENT SIDE -- ----------------- Debian Release: 5.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to fr...@euro) Shell: /bin/sh linked to /bin/bash Versions of packages rsync depends on: ii base-files 5lenny3 Debian base system miscellaneous f ii libacl1 2.2.47-2 Access control list shared library ii libc6 2.7-18 GNU C Library: Shared libraries ii libpopt0 1.14-4 lib for parsing cmdline parameters ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip rsync recommends no packages. Versions of packages rsync suggests: ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh ii openssh-server 1:5.1p1-5 secure shell server, an rshd repla -- no debconf information ----------------- -- SERVER SIDE -- ----------------- Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-proposed'), (500, 'hardy') Architecture: i386 (i686) Kernel: Linux 2.6.28.4-xxxx-std-ipv4-32 (SMP w/2 CPU cores) Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages rsync depends on: ii libacl1 2.2.45-1 Access control list shared library ii libc6 2.7-10ubuntu4 GNU C Library: Shared libraries ii libpopt0 1.10-3build1 lib for parsing cmdline parameters ii lsb-base 4.0-0ubuntu0.8.04.1 Linux Standard Base 4.0 init scrip ii sysv-rc 2.86.ds1-14.1ubuntu45.1 System-V-like runlevel change mech -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org