View container logs
- Last Updated: December 23, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Use the logs command to inspect container logs for troubleshooting
and monitoring.
Syntax
|
Because the log output respects container log retention policies, use this command to
investigate errors or unexpected behavior in the container. It accepts profile name
as a required argument. You can also include the -f parameter to
follow logs in real time for continuous monitoring.
Example
|
This command invokes the logs command in the mcpgen
CLI to display logs from a profile container. In this example,
myprof is the name of the profile whose container logs you want
to view. The -f parameter streams the logs in real time. This is
useful for monitoring ongoing activity or troubleshooting issues as they occur.