Setup & access Nginx logs
Zerops provides 3 different logs:
How to access logs​
Build log​
Zerops GUI​
To access a build log in Zerops GUI, go to the service detail and choose Service dashboard & runtime containers in the left menu. Then open the pipeline detail of an application version and click on Build log. The build log button is available only if the build pipeline was triggered for the selected deploy.
zCLI​
To access a build log in Zerops CLI use
Read more about the zcli service log command.
Prepare runtime log​
Zerops GUI​
To access a prepare runtime log in Zerops GUI, go to the service detail and choose Service dashboard & runtime containers in the left menu. Then open the pipeline detail of an application version and click on Prepare runtime log. The prepare runtime log button is available only if the prepare runtime pipeline was triggered for the selected deploy.
zCLI​
Prepare runtime log is currently not supported in zCLI.
Runtime log​
Zerops GUI​
To access a runtime log in Zerops GUI, go to the service detail and choose Runtime log in the left menu.
// TODO screenshot
Each runtime container has its own log. If your service has multiple containers, select the container in the log header.
You can filter log records by minimum severity or by time.
zCLI​
To access the log of the runtime containers in Zerops CLI use
Read more about the zcli service log command.
Nginx logging configuration​
By default Nginx static containers logs the content of Nginx access log and error log to syslog:
The syslog messages are stored and are accessible as a runtime log in Zerops GUI or zCLI.