B. Environment Variables : VWLOG
 
Share this page                  
VWLOG
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"