- Support
- How can I generate Docker logs?
-
Account & Licensing
-
Installing & Updating
-
Power Pick Connections
-
Data Push & Data Pull
-
API
-
Reports
-
Snapshots & Dashboard
-
Workflows
How can I generate Docker logs?
To generate Docker logs for a container and save them in a file, the command format is like this:
docker logs [OPTIONS] [container name] >& itempath.log
For example, here is a command to generate a log file for the "itempath-flask" container, including timestamps, since 1 hour ago:
docker logs -t --since=1h itempath-flask >& itempath.log