[Solved] How can I see all the logs?

Sorry to bother you.

I would like to see all the logs, but I cannot find them on the “/opt/mattermost/logs/mattermost.log” file.

For example: I use Mattermost on my browser, I send a message, I checked the browser console and I confirmed that the message is being sent; however, there is no log available on the “/opt/mattermost/logs/mattermost.log” file.
I checked the “/var/log/” directory too, I don’t think the log is in the directory.

What, exactly, are you looking for? /opt/mattermost/logs/mattermost.log is for Mattermost server logs, not all logs. In your browser, you can open the Javascript console to see logs related to posts if you’re trying to troubleshoot an issue.

Thank you for the answer.

I would like to see all connection logs, like HTTP, WS. Like Apache log shows HTTP logs and record status or any error.

I can see the results on my developer console, but I cannot see what is or is not being received on my server because it seems like they are not being recorded by Mattermost.

What is your LogSettings.FileLevel set to? The HTTP request and status logs will only appear at DEBUG level.

1 Like

^^^
https://docs.mattermost.com/configure/environment-configuration-settings.html#file-log-level

1 Like

Bravo! I would try that. Thank you very much!

Thank you very much. I’m sorry my mental condition has been very bad lately, I should find the log related documentation before bothering you.

Take care. Wishing all the best for you. :heart:

2 Likes