Appearance
metaplay debug logs [ENVIRONMENT] [flags]
Show logs from one or more game server pods
Appearance
Show logs from one or more game server pods
metaplay debug logs [ENVIRONMENT] [flags] Show logs from one or more game server pods in the target environment.
Expected arguments:
Related commands:
# Show logs from environment 'nimbly' up until now.
metaplay debug logs nimbly
# Show logs and keep streaming them until terminated.
metaplay debug logs nimbly -f
# Show logs only from the 'service-0' pod.
metaplay debug logs nimbly --pod service-0
# Show logs more recent than 3 hours.
metaplay debug logs nimbly --since=3h
# Show logs since Dec 27th, 2024 15:04:05 UTC.
metaplay debug logs nimbly --since-time=2024-12-27T15:04:05Z--follow: Keep streaming logs from pods until terminated.--pod <string>: Show logs only from the pod matching this name.--since <duration>: Show logs more recent than specified duration like 30s, 15m, or 3h. Defaults to all logs. (default: 0s)--since-time <string>: Show logs more recent than specified timestamp. Defaults to all logs.--color <string>: Should the output be colored (yes/no/auto)? [env: METAPLAYCLI_COLOR] (default: auto)--project <string>: Path to the to project directory (where metaplay-project.yaml is located)--skip-version-check: Skip the check for a new CLI version being available--verbose: Enable verbose logging, useful for troubleshooting [env: METAPLAYCLI_VERBOSE]