Immediately rotates the log file; this does not cancel the midnight rotation.
Useful before diagnosis: the fresh file contains only what happened after the command.
When to use it:
| Question | This command or not |
|---|---|
| start a clean log before diagnosis | yes |
| rotate accounting files | no — rotate acct |
# start a new log before reproducing the error pmta rotate log
2 relations
Return a node fileThe same thing, returned by a request. inference
ls -lt /var/log/pmta/ | head
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇The watchdog that restarts the engineKeeps an eye on the engine and brings it back up after a crash by itself, sending a crash report to the postmaster address.◇What makes a virtual machine riskyRunning on a virtual machine is possible, but the manual does not recommend it without sufficient hardware and properly tuned hypervisor settings: under load the node may stop responding.