Difference between revisions of "How to enable WebClient logging"

From support-works
Jump to navigation Jump to search
Line 16: Line 16:
 
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.   
  
:The follow entries will require the parameter false be set to true:
+
The follow entries will require the parameter false be set to true:
  
  
Line 24: Line 24:
 
::<code> define("_LOG_WC_5005_ACTIVITY",false);</code>
 
::<code> define("_LOG_WC_5005_ACTIVITY",false);</code>
 
::<code> define("_LOG_WC_SERVICE_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.   
 
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 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 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.
 
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.

Revision as of 11:37, 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 http://<servername>/sw/webclient/diagnose.php and forward the Diagnostic Report.

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.