Gardience Documentation gardience.com →
Docs / Administration

Support bundle and logs

Get help

Open or track a support request from Get help in the menu under your name at the top right of the console. It opens your account on gardience.com (sign in if you are not), where every request gets a number, an emailed receipt with its response time, and every reply in one place. Or email george@gardience.com with your license ID.

Read the logs

Gardience runs as a set of containers, called services:

ServiceWhat it is
gardienceThe Gardience service: console pages, API, scans, runs and the audit log.
salt-masterThe Salt master and salt-api. All-in-one installs only.
runnerRuns Ansible playbooks, isolated from the rest.
nginxThe web front end, on the HTTPS and HTTP ports (443 and 80 by default).

To follow the last 100 lines of every service, and then new lines as they come:

/opt/gardience/gardience logs

To follow one service:

/opt/gardience/gardience logs gardience

Press Ctrl-C to stop. Any extra options are passed to docker compose logs.

Most lines from the gardience service are JSON objects with ts, level, component and msg fields. An unexpected error is written to the log with a reference code. The console shows only that code, so you can find the full detail in the log.

Each service's log is capped at five files of 50 MB, so logs never fill the disk.

Change how much the service logs

/opt/gardience/gardience log-level debug

The levels are debug, info (the default) and warning. The setting is saved as GARDIENCE_LOG_LEVEL in .env, and the gardience service is recreated to apply it. Run the command with no level to see the usage line and the current setting.

This changes only the Gardience service. The Salt master's own log level is in its configuration.

Set it back to info when you are done: debug is verbose.

Build a support bundle

/opt/gardience/gardience support-bundle

This writes gardience-support-YYYYMMDD-HHMMSS.tar.gz in the install directory. Nothing is sent anywhere. Review the file, then attach it to your support request.

The bundle contains:

FileContents
versions.txtGardience, Docker and Docker Compose versions, and uname -a.
services.txtWhich services are running (docker compose ps).
doctor.txtThe output of gardience doctor.
log-SERVICE.txtThe last 3,000 lines of each service's log.
env-keys.txtThe names of the settings in .env, with every value replaced by ....
nginx.confThe web server configuration.
master-gardience.confThe generated Salt master configuration.
users.yamlAccount names and roles. Password hashes are replaced.
health.jsonThe service's full health detail, including each component's problem.

What is redacted

Before anything is written:

Redaction works on patterns, so read the bundle before you send it. Host names, node names and IP addresses are not removed.

What to send with a support request

Gardience by Bouziden Management LLC.