Akamas logs
Akamas allows dumping log entries from a specific service, workspace, workflow, study, trial, and experiment, for a specific timeframe and at different log levels.
Akamas CLI for logs
Akamas logs can be dumped via the following CLI command:
akamas logThis command provides many filters which can be retrieved with the following command:
akamas log --helpwhich should return
Usage: akamas log [OPTIONS] [MESSAGE]
Show Akamas logs
Options:
-d, --debug Show extended error messages if present.
--page-size INTEGER Number of log lines to be retrieved NOTE:
This argument is mutually exclusive with
arguments: [dump, no_pagination].
--no-pagination Disable pagination and print all logs NOTE:
This argument is mutually exclusive with
arguments: [dump, page_size].
--dump Print the logs without pagination and
formatting NOTE: This argument is mutually
exclusive with arguments: [page_size,
no_pagination].
-f, --from [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S|%Y-%m-%dT%H:%M:%S.%f|%Y-%m-%d %H:%M:%S.%f|[-]nw|[-]nd|[-]nh|[-]nm|[-]ns]
The start timestamp of the logs
-t, --to [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S|%Y-%m-%dT%H:%M:%S.%f|%Y-%m-%d %H:%M:%S.%f|[-]nw|[-]nd|[-]nh|[-]nm|[-]ns]
The end timestamp of the logs
-s, --study TEXT UUID or name of the Study
-e, --exp INTEGER Number of the experiment
--trial INTEGER Number of the trial
-y, --system TEXT UUID or name of the System
-W, --workflow TEXT UUID or name of the Workflow
-l, --log-level TEXT Log level
-S, --service TEXT Akamas service
--without-metadata Hide metadata
--sorting [ASC|DESC] Sorting order of the timestamps
-w, --workspace TEXT UUID or name of the Workspace to visualize.
When empty, system logs will be returned
instead
--help Show this message and exit.For example, to get the list of the most recent Akamas errors:
which should return something similar to:
Viewing platform logs
By default the akamas CLI only shows logs of the current workspace. In order to see platform logs for events such as installation or optimization packs or telemetry providers you can specify the -ws option with an empty workspace name such as:
Last updated
Was this helpful?