This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
BMC VaraLogix Q Deployment Automation
Release Package and Deployment
All versions of BRPD
How to enable PHP error_logging in BRPD instance?
BRPD or Varalogix Q Deployment Automation runs on PHP. There is an option to enable PHP error logging so that in case there are issues in the php engine, then it can write to a proper log file which can be reviewed.
Below are the steps followed:
1. Stop all the BRPD processes (apache, engines, dispatcher and api).
2. Edit the <BRPD_INSTALL_HOME>/lib/php/etc/php.ini (linux) or <BRPD_INSTALL_HOME>\lib\php\php.ini file
See sample below. All the lines are comments and only error_log uncommented.
569 ; empty.
570 ; http://php.net/error-log
571 ; Example:
572 error_log = "/opt/bmc/RLM/logs/php_errors.log"
573 ; Log errors to syslog (Event Log on Windows).
574 ;error_log = syslog
If the configuration is right then you can also see the file getting created with the new log entry like below: