Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make rsync demon log to stdout (instead of a logfile)? [closed]

Tags:

rsync

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?

like image 557
Salim Fadhley Avatar asked Sep 06 '25 20:09

Salim Fadhley


1 Answers

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
like image 114
jtaylor Avatar answered Sep 11 '25 03:09

jtaylor