Synthesis AG - SyncML Discussion Forum

Synthesis AG - SyncML Discussion Forum (http://forum.synthesis.ch/index.php)
-   Other SyncML clients (Sunbird, Outlook beta, Console, etc.) (http://forum.synthesis.ch/forumdisplay.php?f=7)
-   -   Logfile vs Debug (http://forum.synthesis.ch/showthread.php?t=688)

~Q~ 2007-11-30 00:42

Logfile vs Debug
 
I am working with the Consule client demo and am a bit confused as to the difference between the Debug section, as it relates to log files, and the Logfile Platform parameter further down in the configuration file. Both seem to perform logging of some sort, but I'm can't get an understanding of the difference simply by reading the reference manual.

It appears that the Debug section is for script debugging and the Logfile plateform parameters for session logging.

At the end of the day, I'd like to just setup session logging so that I can see what is going on during a sync.

Thank you.

Greg

luz 2007-12-03 10:27

Re: Logfile vs Debug
 
<logpath> within the <debug> section specifies the directory where to store debugging log files (usually .html files, one per session/thread). These are for having a detailed (technical) look at what happens within a sync session, including, but not limited to script debugging. Use the <enable...> and <disable option="xxx"> directives to control what is to be show in the debug logs.

On the other hand, <logfile> within the <client> section specifies a file to write one line of data (useful numbers for statistics) per sync session/data store. Using <logformat> and <loglabels>, the actual content of this file can be configured.

Quote:

At the end of the day, I'd like to just setup session logging so that I can see what is going on during a sync.
The sample config file is set up for session logging already, so just setting <logpath> to a writeable directory should be sufficient to start with.


All times are GMT +2. The time now is 06:35.

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.