Andrew Tridgell
654175798b
patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
...
different exit codes for different conditions.
1998-11-03 07:08:27 +00:00
Andrew Tridgell
b606265491
added the --log-format option to allow users to request arbitrary
...
per-file logging of interactive rsync sessions.
1998-11-03 03:48:47 +00:00
Andrew Tridgell
ab7104da8f
the logging wasn't showing the full prefix for filenames
1998-11-02 06:40:11 +00:00
Andrew Tridgell
1b7c47cb55
Jason told me that's its very important for his site to log exactly
...
how many bytes were needed to be transferred for each file. I added %b
and %c log format options to cover this. See the man page for details.
1998-11-02 04:17:56 +00:00
Andrew Tridgell
f7632fc60d
if no local destination is provided for the transfer then provide
...
a "ls -l" style listing of the files that would be transferred
1998-11-02 00:52:01 +00:00
Andrew Tridgell
e803090538
use the orig_umask when choosing perms for the log file.
1998-10-30 23:50:12 +00:00
Andrew Tridgell
6265551a5a
fixed perms on rsyncd log file
1998-10-30 23:03:08 +00:00
Andrew Tridgell
958f373550
move the time init before the logfile opening.
1998-10-30 11:18:38 +00:00
Andrew Tridgell
97cb8dc29b
added %m, %P and %u options to logging
1998-10-30 05:53:05 +00:00
Andrew Tridgell
b24203b323
get null termination right in logging
1998-10-30 02:43:10 +00:00
Andrew Tridgell
3472009789
get null termination right in logging
1998-10-30 02:36:05 +00:00
Andrew Tridgell
f27b53f5b5
hopefuly fix logging of "transfer interrupted" messages
1998-10-30 02:32:29 +00:00
Andrew Tridgell
e08bfe1248
added "log format" option to allow admins to choose the format for
...
rsyncd log file entries
1998-10-30 02:24:47 +00:00
Andrew Tridgell
67ea0d4844
put the pid on each line of the log file to facilitate
...
auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi )
1998-10-29 11:16:51 +00:00
Andrew Tridgell
9b73d1c0e9
put the pid on each line of the log file to facilitate
...
auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi )
1998-10-29 11:11:38 +00:00
Andrew Tridgell
27d3cdbc94
syslog support in rsync daemon has been broken since I added the "log
...
file" option. I wonder why noone reported it? Or did everyone just use
"log file" ?
1998-10-28 10:43:31 +00:00
Andrew Tridgell
11a5a3c704
and I thought I wasn't going to do any rsync coding for a while ...
...
Jason Andrade convinced me to add ftpd style logging of transfers,
enabled with a "transfer logging" option in rsyncd.conf
you can customise the format in log.c
1998-10-28 03:28:30 +00:00
Andrew Tridgell
35bdd146e4
fixed timestring() bug
1998-09-09 07:06:44 +00:00
Andrew Tridgell
e0414f4202
put the time in when using log file.
1998-09-09 06:06:08 +00:00
Andrew Tridgell
4f6325c362
added "log file" option for those systems with broken syslog (like
...
AIX)
1998-09-09 05:51:42 +00:00
Andrew Tridgell
bcf5b1335d
- use explicit flushes instead of setlinebuf. I've had reports of
...
verbose info not being line buffered to files.
- add a call to localtime() in open_log() in order to prime the C
libraries timezone cache before the chroot(). This should fix the
problem of rsyncd log entries being in GMT time.
1998-07-02 10:57:20 +00:00
Andrew Tridgell
eb86d661d7
added --progress option which shows the progress of transfers. This
...
gives bored users something to watch.
1998-07-02 00:47:13 +00:00
Andrew Tridgell
8d9dc9f99d
this is a large commit which adds io multiplexing, thus giving error
...
messages from the server when using the socket code.
I've doen a fair bit of testing and I don't seem to have broken
anything, but it is a very complex change. More testing needed!
1998-05-18 08:20:26 +00:00
Andrew Tridgell
1a016bfdec
- changed the log messages to show the requested path
...
- some more paranoid buffer size checks
- separate open syslog call
- handle systems without LOG_NDELAY
1998-05-15 10:34:07 +00:00
Andrew Tridgell
e42c9458c2
use strlcat() strlcpy() and slprintf() whenever possible to avoid any
...
chance of a buffer overflow
1998-05-15 09:26:01 +00:00
Andrew Tridgell
f855d1a309
vsprintf returns char* on sunos4
1998-05-13 13:48:25 +00:00
Andrew Tridgell
851dbdb775
added "syslog facility" option. It is an integer and defaults to the
...
value of LOG_DAEMON.
1998-05-13 08:12:51 +00:00
Andrew Tridgell
45ccc5c08c
only call openlog once
...
fix a segv in loadparm.c
1998-05-10 08:31:50 +00:00
Andrew Tridgell
ff8b29b8c6
use syslog instead of /var/adm/rsyncd.log
1998-05-10 08:24:38 +00:00
Andrew Tridgell
0b76cd63ee
configuration parsing and loading code for rsyncd. This is based
...
on the Samba config code, so you'll find that the config files will
be eerily familiar if you have ever worked with Samba.
1998-05-09 14:00:55 +00:00