How to manually rotate the vertica.log
search cancel

How to manually rotate the vertica.log

book

Article ID: 117025

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

If the vertica.log gets too big how can I manually rotate the vertica.log file.

Resolution

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

Configure Log Rotation for Data Repository

This issue  may arise when the / partition of the Data Repository server gets low on disk space