Hello
Where are the access logs to the cockpit web screen stored?
Or is it impossible to obtain the access logs to the cockpit web screen without installing a separate package?
Hello
Where are the access logs to the cockpit web screen stored?
Or is it impossible to obtain the access logs to the cockpit web screen without installing a separate package?
You can find them both in /var/log/messages
and /var/log/secure
.
/var/log/messages
→ These show up as cockpit-ws
and cockpit-session
/var/log/secure
→ These show up as just cockpit-session
with pam specific messages such as cockpit:auth
.Thank you.
I checked messages and secure.
Is there no “access.log” like there is for web servers like Apache or nginx?
If there are logs like that, I’m unaware. I’ve not seen documentation that alludes to it either. If I had to guess why this is, it likely has something to do with how cockpit utilizes web sockets.
I would imagine that if you want these sort of logs, you may have to setup a reverse proxy using apache or nginx.