[BlueOnyx:22824] Re: Why is this logged in /var/log/maillog?
Michael Stauber
mstauber at blueonyx.it
Wed Apr 17 03:41:58 -05 2019
Hi Dirk,
> by happenstance, I have just seen that the following lines are logged in
> /var/log/maillog
>
> Apr 17 09:06:53 servename net2ftp: 2019-04-17 09:06:53 130.180.107.210 59904
> /ftpclient/index.php 0 0 servename.domain.net browse main 1
>
> Why?
> This should be in /var/log/messages??
I just checked. By default net2ftp does indeed log into /var/log/maillog.
See:
/usr/sausalito/ui/web/ftpclient/settings.inc.php
$net2ftp_settings["syslog_facility"] = LOG_MAIL;
If changed to this it'll log to /var/log/messages:
$net2ftp_settings["syslog_facility"] = LOG_SYSLOG;
Which is really where these messages should go in first place. I'll
publish an update today that fixes this.
Many thanks for letting me know.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list