Synthesis AG - SyncML Discussion Forum  

Go Back   Synthesis AG - SyncML Discussion Forum > Synthesis SyncML Products (english) > Other SyncML clients (Sunbird, Outlook beta, Console, etc.)

Reply
 
Thread Tools Display Modes
  #1  
Old 2007-11-29, 23:42
~Q~ ~Q~ is offline
Junior Member
 
Join Date: 2007-11
Posts: 2
Default 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
Reply With Quote
  #2  
Old 2007-12-03, 09:27
luz's Avatar
luz luz is offline
plan44.ch
 
Join Date: 2006-06
Posts: 348
Default 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.
__________________
Lukas Zeller, plan44.ch
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 10:26.


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