Debugging profiler for Docker Compose setup
Checking container status
Command: docker ps
Example output:
CODE
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fc852c0efafa delphix-snowflake-profiler-service-app:1.0.0 "/bin/bash -c 'sourc…" 5 seconds ago Up 3 seconds 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp <container_name>
Capturing the container logs
Command: docker logs <container_name>
Example output:
CODE
...
INFO: @ 2025-02-05 15:19:15,914 [MainProcess : 13 : main : <module> : 60] : ****** Starting the profiler **********
INFO: @ 2025-02-05 15:19:15,915 [MainProcess : 13 : main : <module> : 61] : Sample INFO Log...
WARNING: @ 2025-02-05 15:19:15,915 [MainProcess : 13 : main : <module> : 62] : Sample WARNING Log...
ERROR: @ 2025-02-05 15:19:15,916 [MainProcess : 13 : main : <module> : 63] : Sample ERROR Log...
DEBUG: @ 2025-02-05 15:19:15,916 [MainProcess : 13 : main : <module> : 64] : Sample DEBUG Log...
...