Container Service Logs
1 min
Kron PAM container service logs can also be checked via the CLI. To do so, follow these steps:
- Log in to Kron PAM CLI interface
- Navigate to folder /pam/docker-mgmt
[pamuser@kronpam:~]# cd /pam/docker-mgmt
- Execute the following command to check individual service logs:
[pamuser@kronpam:~]#docker-compose logs -f <service_name>
Example output:
[pamuser@kronpam: /pam/docker-mgmt]# docker-compose logs -f auth
auth-1 | Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
auth-1 | 2025-12-01 13:51:26.079 INFO [logTo] org.springframework.boot.logging.DeferredLog : Fetching config from server at : https://kron-commons-config:8001
auth-1 | 2025-12-01 13:51:26.087 INFO [logTo] org.springframework.boot.logging.DeferredLog : Located environment: name=auth, profiles=[default], label=null, version=null, state=null
auth-1 | 2025-12-01 13:51:27.235 INFO [getRemoteEnvironment] org.springframework.cloud.config.client.ConfigServicePropertySourceLocator : Fetching config from server at : https://kron-commons-config:8001
auth-1 | 2025-12-01 13:51:27.471 INFO [log] org.springframework.cloud.config.client.ConfigServicePropertySourceLocator : Located environment: name=auth, profiles=[default], label=null, version=null, state=null
auth-1 | 2025-12-01 13:51:27.473 INFO [doInitialize] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-configClient'}, BootstrapPropertySource {name='bootstrapProperties-file:/app/config-repo/auth-default.properties'}, BootstrapPropertySource {name='bootstrapProperties-file:/app/config-repo/application-default.yml'}]
auth-1 | 2025-12-01 13:51:27.579 INFO [logStartupProfileInfo] org.springframework.boot.SpringApplication : No active profile set, falling back to 1 default profile: "default"
- Execute the following command to check all service logs:
[pamuser@kronpam:~]#docker-compose logs -f