transfer logging
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 22 Jun 2011 19:36:41 +0000 (21:36 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 22 Jun 2011 19:36:41 +0000 (21:36 +0200)
rsyncd.conf

index d30db00..ba98dab 100644 (file)
@@ -7,6 +7,31 @@ lock file = /srv/cloudshare/var/rsyncd.lock
 
 #syslog facility = local5
 log file  = /srv/cloudshare/var/rsyncd.log
+#      %a the remote IP address
+#      %b the number of bytes actually transferred
+#      %B the permission bits of the file (e.g. rwxrwxrwt)
+#      %c the total size of the block checksums received for  the  basis  file (only when sending)
+#      %f the filename (long form on sender; no trailing "/")
+#      %G the gid of the file (decimal) or "DEFAULT"
+#      %h the remote host name
+#      %i an itemized list of what is being updated
+#      %l the length of the file in bytes
+#      %L  the  string  " -> SYMLINK", " => HARDLINK", or "" (where SYMLINK or
+#      HARDLINK is a filename)
+#      %m the module name
+#      %M the last-modified time of the file
+#      %n the filename (short form; trailing "/" on dir)
+#      %o the operation, which  is  "send",  "recv",  or  "del."  (the  latter includes the trailing period)
+#      %p the process ID of this rsync session
+#      %P the module path
+#      %t the current date time
+#      %u the authenticated username or an empty string
+#      %U the uid of the file (decimal)
+
+transfer logging = yes
+log format = %o %h [%a] %m (%u) %f %l
+max verbosity = 5
+
 pid file  = /srv/cloudshare/var/rsyncd.pid
 
 # don't check secrets file permission (uid)