Hi Zhoulei,

On 13.12.2012, at 04:57, zhou lei <zhou...@globalroam.com> wrote:

> You may have a try on this. Find out the log file name is quite hard there. I 
> try to send the file, but can only find the tmp/sysynclogs, and this is a 
> file path, i have no permission to do things on it. If can compress the log 
> file, and send it by mail on the app, thats great. I just could not find the 
> log file name. And i found "<!--<logfile>$(logpath)/synclog.txt</logfile>-->" 
>  in file "ios_syncclient_app_sample.xml", means i should set it my self?

You can set it yourself, yes. But note that synclog.txt is not the <logfile> 
you want to see (that's only one line per sync).

The extended debug logfiles are automatically named after date and time and 
session ID and put into where <logpath> points.

If you can't access /tmp/sysynclogs, you can change the definition of the 
logpath config variable on line 9 of ios_syncclient_app_sample.xml

For example, to change the log directory to the app's document folder (which 
you can access from you Mac/PC using for example DiskAid 
http://www.digidna.net/products/diskaid, free functionality sufficient), change 
line 9 to:

  <configvar name="logpath" value="$(sandbox)/Documents"/>

This will make the app write the full logs to the documents folder.

Best Regards,

Lukas
_______________________________________________
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to