- if (log_initialised)
- rprintf(FLOG, "connect from %s (%s)\n", host, addr);
-
+ /* We must load the config file before calling any function that
+ * might cause log-file output to occur. This ensures that the
+ * "log file" param gets honored for the 2 non-forked use-cases
+ * (when rsync is run by init and run by a remote shell). */