-
-
Notifications
You must be signed in to change notification settings - Fork 89
View the logs
Daniel Tischner edited this page Oct 13, 2021
·
7 revisions
There are two ways to read the logs of the bots:
- by using the logviewer
- by manually logging in to the VPS and looking up the log files
- Ask a Moderator-Team to be granted access to the logviewer.
- Visit the website https://togetherjava.duckdns.org
- and login with your Discord account,
- accept the authorization.
- You should now be able to see the logs in the logviewer 🎉
On the left side you can see three views (depending on your role, some might be missing).
- Logs displays the actual logfiles.
- Streamed displays the log-events as the main application sends them to the web application.
- User-Management enables adding or removing users who can access this website and editing their roles (right click the panel).
In order to read the log files of the bots directly, one has to login to the VPS and command Docker to execute the corresponding task. Only members of the Moderator-Team can do the following steps.
See Access the VPS for details of the login process.
-
ssh togetherjava
to login to the VPS - Either
cd ~/docker-infra/master-bot
orcd ~/docker-infra/develop-bot
to go to the directory of the corresponding bot - Execute
docker-compose logs -f
- Hit Ctrl + C to stop