- 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
+ * (called by init and called by remote shell). */