Activity logs
Changes to your environments, such as deployments, cron jobs, and code or variable updates, are each logged as activities. You can access the logs either in the Console or using the CLI:- In the Console
- Using the CLI
- Open the project you are interested in.
- From the Environment menu, select an environment.
-
Click a recent activity from the activity feed or click All to see the complete history.

Sharing activity logs
When trying to identify and resolve failures, it can often help to have another person’s perspective. Troubleshoot collaboratively by sharing the logs of specific activities. To share a log, open the log and click Copy URL. Share specific lines in the log on clicking the line number. To select multiple lines, hold Shift. After selecting multiple lines, hovering on the next unselected line gives you the amount of time that passed between the selected lines.
Container logs
Events that occur within an app container are logged within that container. The logs can be written to, but you should do so only with standard logging mechanisms. If your app has its own logging mechanism, use it to write to a dedicated logs mount. To access the logs of various types of events:- Using the CLI
- Using SSH directly
Use the To get other logs, just replace
upsun log command and specify the type of log you want.
For example, to get the access log, run:access with the type of log.
To view more lines, use the --lines flag.Types of container logs
PHP access record format
The formatting ofphp.access.log is determined by the PHP settings.
To determine the format, run the following: