Uncategorized Documents

Reading the system log

journalctl is your interface into a single machine's journal/logging and fleetctl journal will fetch the journal for containers started with fleet. All service files and Docker containers insert data into the systemd journal. There are a few helpful commands to read the journal:

Using the --tunnel flag (docs), you can remotely read the journal for a specific unit started via fleet. This command will figure out which machine the unit is currently running on, fetch the journal and output it:

Enable debugging via a Container Linux Config

This is the human-readable config file. This should not be immediately passed to Container Linux. Learn more.

# This config is meant to be consumed by the config transpiler, which will# generate the corresponding Ignition config. Do not pass this config directly# to instances of Container Linux.systemd:units:-name:systemd-journald.servicedropins:-name:10-debug.confcontents:|[Service]Environment=SYSTEMD_LOG_LEVEL=debug

This is the raw machine configuration, which is not intended for editing. Learn more. Validate the config here.