| Back | Main view

Enable logging in IMiS client

Product:IMiS/Scan, IMiS/Scan++, IMiS/View, IMiS/View++
Release:8.6.1211
Date:12/04/2012

Case: Often the support team asks you to send the logs of the IMiS client you have troubles with, so that the developers can analyze them and find more details that will help us understand the problem. This case contains instructions about the logging mode of IMiS client application.

Description:

Logging is enabled in “Preferences” window under “General” category. Find section “Log options”.



Select checkbox labeled “Enable logging”. Drop down list labeled “Level” will be enabled.
Select suitable logging level. Enabling logging at a given level also enables logging at all higher levels.
For example, setting logging level to Information will also log warning, error messages and critical exceptions. Verbose level is most detailed and it is used when we encounter on problem which has to be analyzed more precisely.
Default location for log files is user’s temporary map. It can be changed by clicking on button “…” .

Name of the log file is “imis.log” and can not be changed. When log file grows to default size (1MBtyes) it is rotated into new file imis.1.log. After a while log file is full again and all previous log files are rotated by one.

Output format is predefined and includes log entry date, time, process id, thread id, application name, class and method name, followed by the message.

Example of log events in log file:
...
11.11.12 08:26:42.376 1416:624 IMiS/Scan++ <TLog.Init> Start logging for IMiS/Scan++ 8.5.1210 (build 400), oktober 2012 (C:\Program Files\IS\IMiS\imisscan.exe)
11.11.12 08:26:43.673 1416:624 IMiS/Scan++ <imisscan> Entering method with no parameters.
11.11.12 08:26:44.298 1416:624 IMiS/Scan++ <TMainForm.MainForm.FormCreate> Entering method with no parameters.
11.11.12 08:26:44.298 1416:624 IMiS/Scan++ <TMainForm.MainForm.FormCreate> Leaving method with no result.
11.11.12 08:26:44.298 1416:624 IMiS/Scan++ <imisscan> Running <IMiS/Scan++> as standalone application...
11.11.12 08:26:44.423 1416:624 IMiS/Scan++ <imisscan.InitApplication> Entering method with no parameters.
11.11.12 08:26:44.423 1416:624 IMiS/Scan++ <imisscan.InitApplication> Creating IMiSAPITable...
...

Related Documents:



| Back | Main view