LOG FILE LOCATION
-
To modify the log file location/directory, execute the below command:
-
vsp-cli config vsp-web-assist edit type:contextPath:logPath <Type>:<ApplicationContextPath>:<NewLogFileLocation>
-
Type - Supported process types are: "Java" ".Net" ".Net Core" "Php" "Node.js" "Ruby" "Nginx" "Apache Httpd" "iae-encode"
-
ApplicationContextPath – Context Path of the Application defined during the Application Creation process. Refer Section Procure Required Parameters Values for steps to procure the value
-
NewLogFileLocation – The absolute path of the new log file directory. Ensure that the user executing the VSP agent/services have write-permissions on the new log file directory
-
-
After the modification, VSP Probe restart is NOT required
-
Example:
vsp-cli config vsp-web-assist edit type:contextPath:logPath php:webGoat:/var/php/newLogPath