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,
>>&
.
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
-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
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
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
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
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
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
+
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
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
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
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
https://bugzilla.samba.org/show_bug.cgi?id=5380
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=5380
[EMAIL PROTECTED] changed:
What|Removed |Added
Attachment #3252 is|0 |1
obsolete|
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)
--
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
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
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
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
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
https://bugzilla.samba.org/show_bug.cgi?id=3479
[EMAIL PROTECTED] changed:
What|Removed |Added
Severity|normal |enhancement
Status|NEW
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
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
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
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:
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
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
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
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
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+
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
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
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 *
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
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
https://bugzilla.samba.org/show_bug.cgi?id=2427
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
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
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
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
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://
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/
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
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
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
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
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
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)
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
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
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
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
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
52 matches
Mail list logo