Difference between revisions of "How to enable PHP Logging"
Jump to navigation
Jump to search
(Created page with "1..On the menu bar open Help > About Supportworks 2..Click on the logging tab and Ensure all the boxes are ticked, 3..Click ‘Initialise’ to specify a destination path (u...") |
|||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''Applicable To:All Versions of Supportworks''' | |
− | + | ||
− | + | For debugging purposes, there maybe times when php logging is useful. Please see instructions below on how to enable them: | |
+ | |||
+ | |||
+ | # Open <installPath>\Hornbill\Core Services\SwHttpServer\bin\php.ini | ||
+ | # Uncomment: error_reporting = E_ALL & ~E_NOTICE (Remove the leading semi-colon) | ||
+ | # Change: error_reporting = Off to error_reporting = On | ||
+ | # Change: display_errors = On to display_errors = Off | ||
+ | # Change: log_errors = Off to log_errors = On | ||
+ | # Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log" ..Note: the quotes around the file path are required!!!) | ||
+ | # Restart the SwHttpServer service |
Latest revision as of 17:53, 16 February 2018
Applicable To:All Versions of Supportworks
For debugging purposes, there maybe times when php logging is useful. Please see instructions below on how to enable them:
- Open <installPath>\Hornbill\Core Services\SwHttpServer\bin\php.ini
- Uncomment: error_reporting = E_ALL & ~E_NOTICE (Remove the leading semi-colon)
- Change: error_reporting = Off to error_reporting = On
- Change: display_errors = On to display_errors = Off
- Change: log_errors = Off to log_errors = On
- Change: ;error_log = filename to: error_log = "<installPath>\Hornbill\Supportworks Server\log\phperror.log" ..Note: the quotes around the file path are required!!!)
- Restart the SwHttpServer service