How to enable WebClient logging: Difference between revisions

From support-works
Jump to navigation Jump to search
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
* [[How to enable WebClient logging]]
{{Template:Basic Cover
{{Template:Basic Cover
| title=How to enable WebClient logging
| title=How to enable WebClient logging
Line 13: Line 10:
}}
}}


== How to enable WebClient logging ==
The following are instructions on how to enable the logging, file locations and further information:
1..In order to turn on logging for the webclient, the file \Program Files\Hornbill\Supportworks Server\html\webclient\php\_wcconfig.php, will need to be edited.
The follow entries will require the parameter false be set to true:
::<code> define("_LOG_WC_SQL_ACTIVITY",false);</code>
::<code> define("_LOG_WC_XMLMC_ACTIVITY",false);</code>
::<code> define("_LOG_WC_XMLMC_RESPONSE",false);</code>
::<code> define("_LOG_WC_5005_ACTIVITY",false);</code>
::<code> define("_LOG_WC_SERVICE_ACTIVITY",false);</code>
Once these entries have been changed and the file saved, each time that a session is started via a webclient login, a new log file will be created. 
The file will be located at the following path; <dirve:>\Program Files\Hornbill\Supportworks Server\html\webclient\temporaryfiles\<session-id>


1..Go to:


  http://<servername>/sw/webclient/diagnose.php and forward the Diagnostic Report.  
The filename called webclient.log; will itself be located in a folder named using the <sessionid>, this will be unique for each weblient session.


2.. In order to turn on logging for the webclient, the file <drive:>\Program Files\Hornbill\Supportworks Server\html\webclient\php\_wcconfig.php, will need to be edited.  The follow entries will require the parameter false be set to true.


define("_LOG_WC_SQL_ACTIVITY",false);
The log file is a standard text file formatted using the standard Supportworks logging format, enabling the file to be opened via the Supportworks Log File Veiwer.

Latest revision as of 12:01, 30 January 2018



Status: Published
Version: 1.1
Authors: Hornbill Support
Applies to: All Versions of Supportworks

How to enable WebClient logging

The following are instructions on how to enable the logging, file locations and further information:


1..In order to turn on logging for the webclient, the file \Program Files\Hornbill\Supportworks Server\html\webclient\php\_wcconfig.php, will need to be edited.


The follow entries will require the parameter false be set to true:


define("_LOG_WC_SQL_ACTIVITY",false);
define("_LOG_WC_XMLMC_ACTIVITY",false);
define("_LOG_WC_XMLMC_RESPONSE",false);
define("_LOG_WC_5005_ACTIVITY",false);
define("_LOG_WC_SERVICE_ACTIVITY",false);


Once these entries have been changed and the file saved, each time that a session is started via a webclient login, a new log file will be created.


The file will be located at the following path; <dirve:>\Program Files\Hornbill\Supportworks Server\html\webclient\temporaryfiles\<session-id>


The filename called webclient.log; will itself be located in a folder named using the <sessionid>, this will be unique for each weblient session.


The log file is a standard text file formatted using the standard Supportworks logging format, enabling the file to be opened via the Supportworks Log File Veiwer.