Difference between revisions of "How to enable WebClient logging"

From support-works
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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. 
 
  
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 following are instructions on how to enable the logging, file locations and further information:
  
:The follow entries will require the parameter false be set to true:
+
 
 +
 
 +
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:
  
  
Line 24: Line 28:
 
::<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.

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.