SQL Language Guide : 8. SQL Statements : CALL VECTORWISE : VWLOG_RELOAD Command
 
Share this page                  
VWLOG_RELOAD Command
The VWLOG_RELOAD command loads a specific Vector error log configuration file (vwlog.conf). The rules for log output specified in the file are used for all subsequent log events. If the log-configuration file is not parsed successfully, the current log rules remain active.
VWLOG_RELOAD can be used to change the error logging rules without the need to restart Vector. In particular, it can be used to increase the log level verbosity while debugging a process, and to otherwise decrease the log level for a more concise log file.
This command has the following format:
CALL VECTORWISE( VWLOG_RELOAD ['''log_config_file''']);
where:
log_config_file
Specifies the name of a error log configuration file. It must be an absolute path and enclosed in triple quotes.
The file name (on keyword filename =) specified in the log_config_file must end with the string "vectorwise.log". This restriction on the log configuration file is a security precaution that only applies when using the VWLOG_RELOAD command.
Windows: The backslashes in the path name must be escaped, as shown in the example.
Examples:
1. Read and parse a custom vwlog.conf file:
CALL VECTORWISE(VWLOG_RELOAD '''C:\\Documents and Settings\\John\\My Documents\\my_vwlog.conf''');
2. Read and parse the default error log configuration file:
CALL VECTORWISE(VWLOG_RELOAD);