Re: rsync output and log FORMAT escapes

2014-01-14 Thread Kevin Korb
ats, the summary is written into the log file and on screen. > > Cheers Florian > > Am 14.01.2014 um 18:22 schrieb Kevin Korb : > > The info is under "log format" in man rsyncd.conf > > On 01/14/2014 10:00 AM, Florian Feldhaus wrote: >>>> Hi, >>&

Re: rsync output and log FORMAT escapes

2014-01-14 Thread Florian Feldhaus
. Cheers Florian Am 14.01.2014 um 18:22 schrieb Kevin Korb : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The info is under "log format" in man rsyncd.conf > > On 01/14/2014 10:00 AM, Florian Feldhaus wrote: >> Hi, >> >> I’m currently evalua

Re: rsync output and log FORMAT escapes

2014-01-14 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The info is under "log format" in man rsyncd.conf On 01/14/2014 10:00 AM, Florian Feldhaus wrote: > Hi, > > I’m currently evaluating the new possibilities of rsync 3.1.0 with > regards to customizing the output / log f

rsync output and log FORMAT escapes

2014-01-14 Thread Florian Feldhaus
Hi, I’m currently evaluating the new possibilities of rsync 3.1.0 with regards to customizing the output / log format. Unfortunately I couldn’t find a complete list of FORMAT escapes. Could someone point me to it? More specific, I would like to include the statistics of the --stats parameter

log format question: resolved

2010-06-28 Thread McGraw, Robert P
It was pointed out that this information is in the --itemize-changes parameter in the man page. I looked at the man page but missed this part. I guess it was the forest for the trees. Thanks and it is resolved. Robert USING: rsync version 3.0.6 protocol version 30 on a Sun Solaris 10 x86

Re: log format question

2010-06-28 Thread Matthias Schniedermeyer
hat follow the > PID. I have search high ad low with now luck. > > I have looked in the rsyncd.conf file but what is talked about log-format > does not seem to give the information that I am looking for. > > Can someone point me to a documentation that will give me the informat

log format question

2010-06-28 Thread McGraw, Robert P
USING: rsync version 3.0.6 protocol version 30 on a Sun Solaris 10 x86. This is a precompiled version from opencsw. /opt/csw/bin/rsync -n -axzH -v --delete-after --log-file=$RSYNCOUTPUT/export_-${DAILYDT}X --rsync-path=/opt/csw/bin/rsync -e "ssh -i /root/.ssh/id_hertz" --max-delete=100 /ex

Re: log format '%P' only logs '/' when use chroot = true

2008-09-11 Thread Wayne Davison
On Wed, Sep 10, 2008 at 04:44:02PM -0700, Wayne Davison wrote: > The attached patch should fix things. That patch accidentally reverted an ability to transform a relative module path into an absolute one when chroot was not enabled. The attached patch fixes this. ..wayne.. --- a/clientserver.c +

Re: log format '%P' only logs '/' when use chroot = true

2008-09-11 Thread Paul Slootman
On Wed 10 Sep 2008, Wayne Davison wrote: > > The attached patch should fix things. It's relative to 3.0.4, but will > also apply with a little twiddling to the 3.1.0dev source (and it should > be easy to patch older versions too). Confirmed, this fixes it! Thanks. Paul -- Please use reply-all

Re: log format '%P' only logs '/' when use chroot = true

2008-09-10 Thread Wayne Davison
On Wed, Sep 10, 2008 at 03:50:46PM +0200, Paul Slootman wrote: > Apparently in pre-3.0.0 versions '%P' would log the actual path as > specified in the module entry in rsyncd.conf, but now it's apparently > relative to the chroot... Yeah, that appears to have happened in the security release that a

Re: log format '%P' only logs '/' when use chroot = true

2008-09-10 Thread Paul Slootman
On Wed 10 Sep 2008, Paul Slootman wrote: > Subject: log format '%P' only logs '/' when use chroot = true Hmm, my English is deteriorating... This would be better: Subject: log format '%P' logs just '/' when use chroot = true Paul -- Please use reply

log format '%P' only logs '/' when use chroot = true

2008-09-10 Thread Paul Slootman
The subject says it all :-) Apparently in pre-3.0.0 versions '%P' would log the actual path as specified in the module entry in rsyncd.conf, but now it's apparently relative to the chroot... Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe

DO NOT REPLY [Bug 5380] %M in log format converts following spaces into '-'

2008-04-15 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5380 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 5380] %M in log format converts following spaces into '-'

2008-04-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5380 [EMAIL PROTECTED] changed: What|Removed |Added Attachment #3252 is|0 |1 obsolete|

DO NOT REPLY [Bug 5380] %M in log format converts following spaces into '-'

2008-04-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5380 --- Comment #1 from [EMAIL PROTECTED] 2008-04-08 19:14 CST --- Created an attachment (id=3252) --> (https://bugzilla.samba.org/attachment.cgi?id=3252&action=view) proposed fix (the argument to strchr in log.c seems to be incorrect) --

DO NOT REPLY [Bug 5380] New: %M in log format converts following spaces into '-'

2008-04-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5380 Summary: %M in log format converts following spaces into '-' Product: rsync Version: 3.0.2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Pr

Re: Log format

2006-10-12 Thread Matt McCutchen
On 10/12/06, Markus Marquardt <[EMAIL PROTECTED]> wrote: i am using the output of --log-format=%f in a shell script to post-process the changed files. After an update from rsync 2.6.3 to 2.6.8 the script doesn't work correctly because it seems that since rsync 2.6.4 even directorie

Log format

2006-10-12 Thread Markus Marquardt
Hi, i am using the output of --log-format=%f in a shell script to post-process the changed files. After an update from rsync 2.6.3 to 2.6.8 the script doesn't work correctly because it seems that since rsync 2.6.4 even directories appear in the log. Is there any way to have only the ch

RE: cwrsync client log format ??

2006-05-19 Thread Tevfik Karagülle
Try double %s instead of single % :   %o becomes %%o   Rgrds Tev From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug LochartSent: Friday, May 19, 2006 5:53 PMTo: rsync@lists.samba.orgSubject: cwrsync client log format ?? We were trying to introduce a

cwrsync client log format ??

2006-05-19 Thread Doug Lochart
We were trying to introduce a better client side log format so that we could get timestamps and module names etc.  In the rsync documentationit looks like you can use --log-format for the client ... there is even a sentence saying that this format would not interfere with the rsybc daemons format

DO NOT REPLY [Bug 3479] Request: timestamps in --log-format

2006-02-03 Thread bugzilla-daemon
https://bugzilla.samba.org/show_bug.cgi?id=3479 [EMAIL PROTECTED] changed: What|Removed |Added Severity|normal |enhancement Status|NEW

DO NOT REPLY [Bug 3479] New: Request: timestamps in --log-format

2006-02-03 Thread bugzilla-daemon
https://bugzilla.samba.org/show_bug.cgi?id=3479 Summary: Request: timestamps in --log-format Product: rsync Version: 2.6.7 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3

Re: rsync log format(again)

2005-09-21 Thread Wayne Davison
On Wed, Sep 21, 2005 at 05:27:17PM -0300, Mario Tambos wrote: > now i need to know the base directory from where rsync is taking the > files. One other option (other than using multiple identical modules) is to use a single module with "auth users" enabled, and multiple authorized usernames. Then

Re: rsync log format(again)

2005-09-21 Thread Wayne Davison
On Wed, Sep 21, 2005 at 05:27:17PM -0300, Mario Tambos wrote: > now i need to know the base directory from where rsync is taking the > files. Since the daemon doesn't know this information, you can create duplicate modules in the rsyncd.conf file (each having the same config details except for the

rsync log format(again)

2005-09-21 Thread Mario Tambos
hi, i'm back again with another log format problem now i need to know the base directory from where rsync is taking the files.   for instance, the follow line:       2005/09/07 22:06:52 [732] COMPAQ/INSIGHT MANAGER/cim_db/  both can be of anyone of the follow commands:

Re: rsync log format problem

2005-09-13 Thread Wayne Davison
On Tue, Sep 13, 2005 at 02:57:34PM -0300, Mario Tambos wrote: > i can't use the process id alone, 'cause, although it identifies the > block, it can be used again for other rsync excecution. Firstly, PIDs on most systems don't repeat very quickly, so just using a PID combined with the date should

rsync log format problem

2005-09-13 Thread Mario Tambos
hi, i'm making a program that reads from a rsync log file, extracts useful information and writes it to a html file. the problem is: i don't know the way to identify a rsync block execution, that is a block of text in the log that have the same id process module, and source directory. i can't use t

Re: adding a new log-format escape

2005-06-27 Thread Wayne Davison
On Mon, Jun 27, 2005 at 10:56:41AM -0600, Andrew Shewmaker wrote: > + strlcat(fmt, "02x", sizeof fmt); The purpose of the fmt buffer is to allow the user to specify something like %-20s and get the output formatted into their log line, so you shouldn't be using the fm

Re: adding a new log-format escape

2005-06-27 Thread Andrew Shewmaker
On 6/27/05, Wayne Davison <[EMAIL PROTECTED]> wrote: > On Mon, Jun 27, 2005 at 09:22:25AM -0700, Wayne Davison wrote: > > so you need to be sure to check for this and print some other > > value ("N/A") for entries with a NULL pointer. > > Actually, the proper fix is to check the mode using S_ISREG

Re: adding a new log-format escape

2005-06-27 Thread Andrew Shewmaker
On 6/27/05, Paul Slootman <[EMAIL PROTECTED]> wrote: > On Mon 27 Jun 2005, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: > > In article <[EMAIL PROTECTED]> (at Mon, 27 Jun 2005 00:07:19 -0600), Andrew > > Shewmaker <[EMAIL PROTECTED]> says: > > > > > + for (j = 0; j < SUM_LENGTH; j+

Re: adding a new log-format escape

2005-06-27 Thread Wayne Davison
On Mon, Jun 27, 2005 at 09:22:25AM -0700, Wayne Davison wrote: > so you need to be sure to check for this and print some other > value ("N/A") for entries with a NULL pointer. Actually, the proper fix is to check the mode using S_ISREG() and only ever dereference "u.sum" for a regular file (since

Re: adding a new log-format escape

2005-06-27 Thread Wayne Davison
On Mon, Jun 27, 2005 at 12:07:19AM -0600, Andrew Shewmaker wrote: > + for (j = 0; j < SUM_LENGTH; j++ ) { > + snprintf(buf2 + j * 2, sizeof buf2, fmt, > file->u.sum[j]); Not every entry will have a non-zero "sum" pointer (e.g. symlinks, dirs, et

Re: adding a new log-format escape

2005-06-27 Thread Paul Slootman
On Mon 27 Jun 2005, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: > In article <[EMAIL PROTECTED]> (at Mon, 27 Jun 2005 00:07:19 -0600), Andrew > Shewmaker <[EMAIL PROTECTED]> says: > > > + for (j = 0; j < SUM_LENGTH; j++ ) { > > + snprintf(buf2 + j *

Re: adding a new log-format escape

2005-06-26 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Mon, 27 Jun 2005 00:07:19 -0600), Andrew Shewmaker <[EMAIL PROTECTED]> says: > + for (j = 0; j < SUM_LENGTH; j++ ) { > + snprintf(buf2 + j * 2, sizeof buf2, > fmt, file->u.sum[j]); file->u.sum[j] & 0xff

adding a new log-format escape

2005-06-26 Thread Andrew Shewmaker
I'm adding a new escape to log-format, %s, to print out the checksum of a file, and I've got a couple problems. They've got to be simple bugs, but I haven't been able to figure them out. The following patch gives me a broken pipe and a bus error when I test it. Note that

[Bug 2427] --dry-run (-n) ignores --log-format

2005-03-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2427 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 2427] New: --dry-run (-n) ignores --log-format

2005-03-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2427 Summary: --dry-run (-n) ignores --log-format Product: rsync Version: 2.6.3 Platform: x86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P3

Re: log deletes with --log-format?

2005-02-18 Thread Wayne Davison
On Tue, Feb 15, 2005 at 01:07:29PM +0100, Joost van den Broek wrote: > Is there a possibility to log deletes as well when using the > --log-format parameter? This is not currently possible, however I have been improving rsync's ability to output what is changing via some new --log-f

log deletes with --log-format?

2005-02-15 Thread Joost van den Broek
Hi, Is there a possibility to log deletes as well when using the --log-format parameter? Currently I use --log-format='[%%t] %%o %%f' under win32 instead of -v. This works nice for all files being transfered, but doesn't log any deletes. Thanks, Joost -- To unsubscribe or

Re: Extending --log-format

2004-09-30 Thread Christophe Kalt
ve approach may be too much for you guys. i'm quite happy to implement JW's proposal as it'd ultimately give me what i am after. After much pondering i now/also think it's then best to leave the --log-format related stuff untouched. -- To unsubscribe or change options: http://

Re: Extending --log-format

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 11:42:54AM -0400, Christophe Kalt wrote: > i couldn't find anything in my various searches :-( It was surprisingly hard to google for due to him using the phrase "report options" for the idea. Here are the messages to which I was referring: http://lists.samba.org/archive/

Re: Extending --log-format

2004-09-28 Thread Christophe Kalt
On Sep 07, Wayne Davison wrote: | On Fri, Aug 27, 2004 at 10:56:06AM -0400, Christophe Kalt wrote: | > I'd like to extend rsync's --log-format to be more detailed | > and ultimately work in --dry-run mode. | | Something like this would indeed be nice, and it was something that J.W

Re: Extending --log-format

2004-09-07 Thread Wayne Davison
On Fri, Aug 27, 2004 at 10:56:06AM -0400, Christophe Kalt wrote: > I'd like to extend rsync's --log-format to be more detailed > and ultimately work in --dry-run mode. Something like this would indeed be nice, and it was something that J.W. was going to work on were he still wit

Re: Extending --log-format

2004-08-27 Thread Adam Sampson
Christophe Kalt <[EMAIL PROTECTED]> writes: > I'd like to extend rsync's --log-format to be more detailed > and ultimately work in --dry-run mode. We (at the UK Mirror Service, http://www.mirrorservice.org/) need our rsync to work with --dry-run, so we use this brute-force

Extending --log-format

2004-08-27 Thread Christophe Kalt
Hi, I'd like to extend rsync's --log-format to be more detailed and ultimately work in --dry-run mode. While i need both of these enhancements, i would rather not maintain such mods over time for our local use, so before i work on this, i'd like to hear back that this is indeed de

Log-format on Rsync Server - no full path param

2004-05-25 Thread Daniel Broms
lient: rsync -vzrlpt ./username/ servername::module/a/long/path/based/on/the/username/ Using different log-format options (%P %f) I have been able to get the module-path and the files in the username-folder but not the long path in between. I have checked the log code briefly but I didn't find

Re: Log format

2002-07-09 Thread tim . conway
nn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me Tim?" "Charlot sur Prolectronic" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/08/2002 02:01 AM To: <[EMAIL PROTECTED]> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)

Re: Log format

2002-07-08 Thread Jake Repp
lot 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 cl

Log format

2002-07-08 Thread Charlot sur Prolectronic
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

Re: rsyncd log in common log format?

2002-02-27 Thread Martin Pool
On 27 Feb 2002, root <[EMAIL PROTECTED]> wrote: > I'm having trouble getting rsync to output the log into common log format. > > My web statistics program Webalizer (www.webalizer.org) wants the logs in > Common Log Format (httpd.apache.org/docs/mod/mod_log_common.html

rsyncd log in common log format?

2002-02-27 Thread root
I'm having trouble getting rsync to output the log into common log format. My web statistics program Webalizer (www.webalizer.org) wants the logs in Common Log Format (httpd.apache.org/docs/mod/mod_log_common.html). Briefly, that's a string host ident authuser date request st

--report and --log-format options (was Re: Moving files with rsync)

2001-03-06 Thread Dave Dykstra
t , src2 dest2 , src3 dest3 I don't think that type of operation is likely to get into rsync itself but I could certainly see that something could be built successfully on top of rsync to do that. > Also, it seems to be possible to send all the files with rsync and > then remove