samba-bugs at samba.org
2013-Oct-04 17:37 UTC
[Bug 10182] New: Deleted file not shown in logfile (--log-file) unless out-format option is specified
https://bugzilla.samba.org/show_bug.cgi?id=10182 Summary: Deleted file not shown in logfile (--log-file) unless out-format option is specified Product: rsync Version: 3.1.0 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: lele at endpoint.com QAContact: rsync-qa at samba.org Hello, I found a weird behavior where deleted files won't be reported in the logfile specified with "--log-file" option unless the "--out-format" (which is related to the *output format* as stated in the documentation) is specified. To reproduce the bug simply run: ### no format option mkdir tmp1 tmp2 touch tmp1/test rsync -r --delete --log-file=transfer.log tmp1/ tmp2 cat transfer.log # 2013/10/04 12:57:17 [20413] building file list # 2013/10/04 12:57:17 [20413] >f+++++++++ test # 2013/10/04 12:57:17 [20413] sent 76 bytes received 32 bytes total size 0 rm transfer.log tmp1/test rsync -r --delete --log-file=transfer.log tmp1/ tmp2 cat transfer.log # 2013/10/04 12:58:11 [20462] building file list # 2013/10/04 12:58:11 [20462] sent 24 bytes received 13 bytes total size 0 rm transfer.log rmdir tmp1 tmp2 ### out-format option mkdir tmp1 tmp2 touch tmp1/test rsync -r --delete --log-file=transfer.log --out-format='%f' tmp1/ tmp2 # tmp1/test cat transfer.log # 2013/10/04 12:59:54 [20593] building file list # 2013/10/04 12:59:54 [20593] >f+++++++++ test # 2013/10/04 12:59:54 [20593] sent 76 bytes received 32 bytes total size 0 rm -f transfer.log tmp1/test rsync -r --delete --log-file=transfer.log --out-format='%f' tmp1/ tmp2 # deleting test cat transfer.log # 2013/10/04 13:21:44 [23552] building file list # 2013/10/04 13:21:44 [23552] *deleting test # 2013/10/04 13:21:44 [23552] sent 24 bytes received 13 bytes total size 0 rm -f transfer.log rmdir tmp1 tmp2 ### log-file-format mkdir tmp1 tmp2 touch tmp1/test rsync -r --delete --log-file=transfer.log --log-file-format='%f' tmp1/ tmp2 cat transfer.log # 2013/10/04 13:25:52 [23938] building file list # 2013/10/04 13:25:52 [23938] tmp1/test # 2013/10/04 13:25:52 [23938] sent 76 bytes received 32 bytes total size 0 rm -f transfer.log tmp1/test rsync -r --delete --log-file=transfer.log --log-file-format='%f' tmp1/ tmp2 cat transfer.log # 2013/10/04 13:26:39 [23988] building file list # 2013/10/04 13:26:39 [23988] sent 24 bytes received 13 bytes total size 0 rm -f transfer.log rmdir tmp1 tmp2 All the previous tests were done on the following setups: * Centos servers 5 (rsync 3.0.6 - x86_64) * Centos servers 6 (rsync 3.0.6 - x86_64) * Linux Mint (rsync 3.0.9 - x86_64) * ArchLinux (rsync 3.1.0 - x86_64). Let me know if you need any other details. Thank you -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Oct-08 17:45 UTC
[Bug 10182] Deleted file not shown in logfile (--log-file) unless out-format option is specified
https://bugzilla.samba.org/show_bug.cgi?id=10182 --- Comment #1 from Emanuele 'Lele' Calo' - End Point Corp. <lele at endpoint.com> 2013-10-08 17:45:31 UTC --- *bump* -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Oct-27 16:28 UTC
[Bug 10182] Deleted file not shown in logfile (--log-file) unless out-format option is specified
https://bugzilla.samba.org/show_bug.cgi?id=10182 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Wayne Davison <wayned at samba.org> 2013-10-27 16:28:22 UTC --- Yeah, this is a very long-standing bug that causes delete messages to not get logged (even in a daemon log) unless some form of verbosity is in effect (most usually via -v). I'm looking into that weird logic to see how best to ensure they don't get dropped. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Nov-28 19:17 UTC
[Bug 10182] Deleted file not shown in logfile (--log-file) unless out-format option is specified
https://bugzilla.samba.org/show_bug.cgi?id=10182 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Wayne Davison <wayned at samba.org> 2013-11-28 19:17:01 UTC --- Fix committed to git for the next release. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Seemingly Similar Threads
- [PATCH 7/8] Add Neon intrinsics for Silk noise shape feedback loop.
- [Aarch64 v2 06/18] Add Neon intrinsics for Silk noise shape feedback loop.
- [LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
- Sort problem in merge()
- An iterative function