<< PREVIOUS  NEXT >>

 

LOG FILE LOCATION

  1. To modify the log file location/directory, execute the below command:

    1. vsp-cli config vsp-web-assist edit type:contextPath:logPath <Type>:<ApplicationContextPath>:<NewLogFileLocation>

       

       

       

    2. Type - Supported process types are: "Java" ".Net" ".Net Core" "Php" "Node.js" "Ruby" "Nginx" "Apache Httpd" "iae-encode"

    3. ApplicationContextPath – Context Path of the Application defined during the Application Creation process. Refer Section Procure Required Parameters Values for steps to procure the value

    4. 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

    Image6

  2. After the modification, VSP Probe restart is NOT required

  3. Example:

    vsp-cli config vsp-web-assist edit type:contextPath:logPath php:webGoat:/var/php/newLogPath

 

<< PREVIOUS  NEXT >>