C
C
ChertyakaNUB2020-11-23 15:42:39
Nginx
ChertyakaNUB, 2020-11-23 15:42:39

How to get all data in access.log, including actions with ftp, ssh, etc.?

Hi everybody!

Used by Vesta/Centos/Ngnix, only actions on port 80 are visible in the access.log file, how can I enable the rest?
How to get all data in access.log, including actions with ftp, ssh, etc.?

If it is impossible to shove everything into one file, it may be possible to add log files from ssh, ftp to the Vesta panel, to the add log section. tabs:
5fbbb29bf17e4732904310.jpeg

Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
ChertyakaNUB, 2020-11-23
@ChertyakaNUB

In general, if you dig into the /usr/local/vesta/web/list/web-log/index.php file, you can add everything!

L
Lynn "Coffee Man", 2020-11-23
@Lynn

No way. access.log is nginx logs. And it has nothing to do with ssh, ftp, etc.

M
Mikhail Vasilyev, 2020-11-23
@vasilyevmn

https://vestacp.com/docs/#config-log-location-debi...

Vsftpd	/etc/vsftpd.conf	/var/log/xferlog
                                /var/log/syslog

V
Viktor Taran, 2020-11-23
@shambler81

Everything is completely logical, I don’t see what’s wrong here
. You have an nginx daemon, it has an access.log
and you have a vsftpd daemon, it has its own log, for what reason should they be together?
Moreover, as a rule, /var/log/syslog is responsible for this (meaning the garbage dump of all logs)
For what reason would they be displayed in a normal access log?
they have different functions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question