Difference between revisions of "How to enable WebClient logging"

From support-works
Jump to navigation Jump to search
Line 12: Line 12:
 
== How to enable WebClient logging ==
 
== How to enable WebClient logging ==
  
1.. Go to http://<servername>/sw/webclient/diagnose.php and forward the Diagnostic Report.   
+
1.. Go to <drive:>\Program Files\Hornbill\Supportworks Server\html\webclient\ locate the diagnose.php and forward the Diagnostic Report to [email protected].   
  
 
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.   
 
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.   

Revision as of 11:45, 30 January 2018



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

How to enable WebClient logging

1.. Go to <drive:>\Program Files\Hornbill\Supportworks Server\html\webclient\ locate the diagnose.php and forward the Diagnostic Report to [email protected].

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);
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.