7. Configuring and Managing VectorH : Error Reporting--vectorwise.log : Example Error Log Configurations
 
Share this page                  
Example Error Log Configurations
1. The following configuration:
default=info:file
filename=/home/vectorwise/vectorwise.log
file=pid:timestamp:showlevel:flush
Sets the log level to INFO.
Changes the location of the log file from its default location to home/vectorwise.
Shows the process ID, ISO timestamp, and the log level in each log record.
Flushes the log file after each write.
2. The following configuration:
default=warn:file
filename=/tmp/vw.log
file=color:timestamp:showlevel:flush
facility NETBUFFER=cyan
Writes output to the file /tmp/vw.log.
Shows the ISO timestamp and log level, and flushes the log file after each write.
Shows messages issued by the NETBUFFER facility in cyan.
3. The following configuration:
default=warn:file
file=timestamp:showlevel:pid:txid
QUERYERROR=info:file
Shows the ISO timestamp, log level, process ID, and transaction ID in each log record.
Shows information about failed queries by raising the log level of the QUERYERROR facility to INFO.