Viewing Application Logs
Dokku application logs are accessible via a command line interface, directly on the server, or on your local machine if you've installed the Dokku client tools.
Tailing application log for a specific application:
dokku logs my-app-name -t
Viewing the last 100 lines of the log:
dokku logs my-app-name -n 100
Viewing Nginx Logs
Nginx is used as a front-end proxy for all application types (even PHP apps using Apache inside their container).
Nginx logs can be found in the /data/log/nginx directory.
Viewing Dokku Events
Dokku system events are accessible via:
Viewing Archived Logs
Application logs are automatically moved to S3 for permanent storage. See this post for details.