Articles in this section

Where to find Logs of SolusVM 2?

Applicable to:

  • SolusVM 2

Question

Where to find logs of SolusVM 2?

Answer

  • Management Node:
    /var/log/solus/installer.log - the log contains SolusVM 2 update and installation events.

Note: SolusVM 2 is built on docker swarm stack which consists of 8 different services.
You can find the logs of any of the service by checking the logs of the corresponding service or docker container with the command:

# docker container logs ID

where ID is the ID of the corresponding docker container which you can find using the command:

# docker ps

  • Compute Resource: 

All the events related to VPS, backup or migration you can find on the corresponding CRs in the log file:

# /var/log/solus/agent.log

the verbosity of the log can be increased in the file /etc/solus/agent.json by changing the line:

CONFIG_TEXT: "log_level": "",

to

CONFIG_TEXT: "log_level": "debug",

followed by solus-agent restart:

# systemctl restart solus-agent

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.