8. Configuring and Managing Vector : Error Reporting--vectorwise.log : VWLOG Environment Variable--Configure Error Reporting
 
Share this page                  
VWLOG Environment Variable--Configure Error Reporting
Instead of creating an error log configuration file, you can configure Vector logging by specifying the VWLOG environment variable before Vector is started.
The following results in INFO-level logging that is written to the file /tmp/vectorwise.log:
Linux:
export VWLOG="default=info:file,filename=/tmp/vectorwise.log,file=timestamp:showlevel:flush:pid"
Windows:
SET VWLOG="default=info:file,filename=C:\temp\vectorwise.log,file=timestamp:showlevel:flush:pid"