[Proftpd-user] ProFTPD Server log for FTP-transfers and for SFTP-transfers
"De Gaaij, Pieter" <[email protected]> Wed, 16 Jun 2021 18:52:27 +0200
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have a ProFTPD daemon running with version 1.3.7a
In the configuration, I have specified 2 Virtual Hosts listening on the
same IP-address, but one is listening on FTP-requests and the other on
SFTP-requests.
In each Virtual Host, I have specified a ServerLog :
FTP-Virtual host: ServerLog <base-dir>/log/proftpd_server_ftp.log
SFTP-Virtual host: ServerLog <base-dir>/log/proftpd_server_sftp.log
However, in the SFTP server log, I get messages that a user has
successfully logged in, like:
2021-06-16 03:21:54,472 <dropserver> proftpd[13435] <server IP> (<client
IP>[<client IP>]): SSH2 session opened.
2021-06-16 03:21:57,447 <dropserver> proftpd[13435] <server IP> (<client
IP>[<client IP>]): USER VA25_ETL: Login successful
2021-06-16 03:21:57,449 <dropserver> proftpd[13435] <server IP> (<client
IP>[<client IP>]): USER VA25_ETL: Login successful.
2021-06-16 03:21:57,856 <dropserver> proftpd[13435] <server IP> (<client
IP>[<client IP>]): SSH2 session closed.
However, in the FTP server log, I don't get user's successful login
messages, only failed login messages.
Question: do I have to configure something extra to get also successful
login messages in the FTP-server log file ?
Or is it otherwise possible to add this kind of
messages to the FTP server log ?
Or is the only way to use the ExtendedLog log file
with a LogFormat auth "%h [%P:%p] %u [%{%a %b %d %T %Y}t] \"%r\" %s" ?
Thanks in advance,
With regards,
Pieter de Gaaij
_______________________________________________
ProFTPD Users List <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html