Gå till innehållet

Endast på engelska

Den här sidan finns inte på svenska ännu. Innehållet visas på engelska.

Basic checks

Status

Use docker compose ps to show the status of components.

Example

cd /opt/synkzone/{world,organization}
docker compose ps     # show running components
docker compose ps -a  # include stopped components

Resource usage

Use docker compose stats to show container resource usage statistics.

Example

cd /opt/synkzone/{world,organization}
docker compose stats    # show usage statistics

Logs

Use docker compose logs to view the console logs of components.

Example

cd /opt/synkzone/{world,organization}
docker compose logs -f       # view console logs for all components
docker compose logs -f main  # view console logs for the main component

Use tail to view the file logs of components.

Example

cd /opt/synkzone/{world,organization}
tail -f */logs/*.log                     # view file logs for all components
tail -f main/logs/OrganizationServer.log # view file logs for the main component
tail -f world/logs/WorldServer.log       # view file logs for the world component

Note

The logging level can be increased or reduced by editing logging.properties. See main/logging.properties and world/logging.properties.