cloud deployments logs
Overview
Get deployments logs
Aliases: logs
Usage:
Arguments:
<deployment-id>
: deployment-id
Options:
-r, --replica <replica>
: Optional replica number. If not specified, logs from replica 0 will be returned-f, --file
: If specified, dumps the entire log to a file in the current directory, otherwise it writes into stdout
How It Works
The quix cloud deployment logs
command allows you to retrieve logs for a specific deployment. This command helps you monitor and debug your deployments by providing access to their log outputs.
Example Usage
Tip
This command requires you to specify a workspace and will prompt for it unless you use the quix use command to set the workspace in advance.
Interactive Mode
$ quix cloud deployment logs
? Select deployment:
deployment-1
deployment-2
deployment-3
> deployment-4
✗ Cancel
[ - Logs stream started - ]
{'Motion_WorldPositionZ': -39.90142059, 'Motion_WorldPositionY': 91.49635314941406,
'Motion_WorldPositionX': -348.5354004, 'TotalLapDistance': -3646.724854, 'Steer': 0.0, 'Speed': 0,
'LapDistance': -3646.724854, 'Gear': 0, 'EngineTemp': 90, 'EngineRPM': 3503, 'Brake': 0.0,
'DriverStatus': 'In_garage', 'LapNumber': 1, 'LapValidity': 'Valid', 'PitStatus': 'Pitting',
'Sector': 0}
...
Non-Interactive Mode
$ quix cloud deployment logs deployment-4
[ - Logs stream started - ]
{'Motion_WorldPositionZ': -39.90142059, 'Motion_WorldPositionY': 91.49635314941406,
'Motion_WorldPositionX': -348.5354004, 'TotalLapDistance': -3646.724854, 'Steer': 0.0, 'Speed': 0,
'LapDistance': -3646.724854, 'Gear': 0, 'EngineTemp': 90, 'EngineRPM': 3503, 'Brake': 0.0,
'DriverStatus': 'In_garage', 'LapNumber': 1, 'LapValidity': 'Valid', 'PitStatus': 'Pitting',
'Sector': 0}
...
Note
You can also dump the logs to a file by using the --file
option.