Skip to main content

Application logs

Every application can generates logs. Logs are a valuable source of information for troubleshooting and monitoring.

Logs can be viewed only when the application as a "resource" is available. If the application is not running, logs are not available. For jobs, logs are available only when the job is present in the system (Running, Completed, or Failed).

note

Using jobs with TTL for debugging purposes is not recommended. Logs are available only for a limited time.

Accessing logs​

To access logs, use the following command:

cgc logs APP_NAME

The command will display logs for the specified application, for all its containers.