Change Error Log Directory

Question:
I don't have write permissions to the root install directory where VectorCAST saves the crash log? How do I change the location of where the vcast_errorlog.txt file is saved?
Answer:

Previous to VectorCAST 2019 SP1
 

The environment variable to change where the crash log gets written is:

VCAST_WIN32_CRASH_FILENAME
 

so you can set it via the system control panel to a new path like so:

VCAST_WIN32_CRASH_FILENAME=C:\other\path\vcastqt_errorlog.txt
 

In VectorCAST version 2019 SP1, that environment variable is now obsolete, and the crash logs are written to the following locations per platform:
 

Linux:

$HOME/.vcast/logs/vcastqt_error_log_<timestamp>.txt
 

Windows:

%HOMEDRIVE%%HOMEPATH%\.vcast\logs\vcastqt_error_log_<timestamp>.txt
 



Article ID: 1460
Last updated: 2019-10-24
Revision: 2
VectorCAST -> Troubleshooting -> Change Error Log Directory
https://kb.vector.com/entry/1460/