Datasys Knowledge Base Document

Knowledge Base index
Updated: 2006/12/15
Product: MobilChange
Version: 4.0
Service pack: 4.6.23
Area: Administration
Category: FEATURE
Problem: MobilChange logging

Problem description:

Enable logging of MobilChange and its components


Solution:

There is log subkey under [HKLM/Software/Datasys/MobilChange] registry branch. You can set here:

filelog

Up to Mobilchange version 4.6.22 is generated file YYYYMMDD.log in <path to MX>\log folder, where all kernel components write data.
In higher versions every component creates its own log (in the same folder):
mx mx_YYYYMMDD.log
in mx_in_YYYYMMDD.log
out mx_out_YYYYMMDD.log
lineX mx_lineX_YYYYMMDD.log

stdoutlog

EventLogFilter - log records with priority same or less than mentioned number are written also into eventlog

Used priorities follows:

flush_interval - interval between writing into log file (flushing log buffer) in miliseconds (0 is same as 1000 = 1 second).

level subkey

Priorities are the same as in EventLogFilter. After changes you must restart Mobilchange.Kernel service.

Logging individual scripting application

In registry key HKLM/Software/Datasys/Mobilchange/Scripting are created subkeys of scripting application. Each application have created key LogLocalSetting, which can be changed to value 1. After this changes will be created log file for this application. Log file is stored in <path to MX>\log\ (e.g. C:\Mobilchange\log) folder. Log files are created with name YYYYMMDD.%application_name%.txt

E.g. activation of Mobile Connection for Outlook logging: change value of HKLM/Software/Datasys/Mobilchange/Scripting/mx_mcfo/LogLocalSetting key to 1.

Wap connection for Outlook (WCO) - log activation

In registry key HKLM/Software/Datasys/Mobilchange/wco/LogEnabled set 1 to create log or 0 to don't create log.
In registry key HKLM/Software/Datasys/Mobilchange/wco/LogPath define name of file include path, where log will be stored, e.g. C:\MobilChange\log\wco.txt


Further information:

--


Keywords:

MobilChange,Administrace,log,debug,wco,mcfo


If there is something unclear, send us an email to development@datasys.cz.