VWLOG_RELOAD Command
The VWLOG_RELOAD command loads a specific X100 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 Ingres. 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 X100( VWLOG_RELOAD ['''log_config_file''']);
where:
log_config_file
Specifies the name of an 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 X100(VWLOG_RELOAD '''C:\\Documents and Settings\\John\\My Documents\\my_vwlog.conf''');
2. Read and parse the default error log configuration file:
CALL X100(VWLOG_RELOAD);
Last modified date: 04/26/2024