How to manually rotate the vertica.log

Document ID : KB000117025
Last Modified Date : 05/10/2018
Show Technical Document Details
If the vertica.log gets to big how can I manually rotate the vertica.log file?
Sometimes this may happen if log rotation was turned on
Any CAPM version
To perform manual log rotation, use the following procedure to implement a custom log rotation process.
No log messages are lost during the procedure. 

1. Rename or archive the vertica.log file that is produced. For example: 
$ mv vertica.log vertica.log.1 
2. Send the Vertica process the USR1 signal. For example: 
$ killall -USR1 vertica 

This will create a new vertica.log file.  From there configure log rotation so the vertica.log rotates every day
Additional Information:
Configuring log rotation: