I'm running rsync underneath Supervisor. I normally start rsync daemon like this:
rsync --daemon --config=/home/zs6ftad/deployments/cmot_rsync_daemon/rsyncd.conf --no-detach
I'd like to make it so that any log messages get echo'd to standard output instead of being stored in the log-file. Is there an option which will make an rsync server behave this way?
You can get rsyncd to log to stdout by setting the --log-file
argument to /dev/stdout
rsync --daemon --no-detach --log-file=/dev/stdout
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With