Email and Mail for Exchange n9

(New page: === How can I turn the logging ON or OFF? === Warning: ''Before sending the logs to somebody (including Nokia) or publishing them, check that the log files do not contain any data which ...)
(Fixed broken links)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
 +
=== How can I ask questions or report issues ? ===
 +
 +
* '''Join the discussion here:''' http://talk.maemo.org/showthread.php?p=1102037#post1102037
 +
 +
=== How can I turn the logging ON or OFF? ===
=== How can I turn the logging ON or OFF? ===
Line 4: Line 9:
''Before sending the logs to somebody (including Nokia) or publishing them, check that the log files do not contain any data which you treat as private or confidential!''
''Before sending the logs to somebody (including Nokia) or publishing them, check that the log files do not contain any data which you treat as private or confidential!''
 +
==== Turning the logging ON ====  
==== Turning the logging ON ====  
Line 15: Line 21:
</li>
</li>
<li>
<li>
-
Connect the device to PC in mass storage mode and copy the conf files below into MyDocs folder.
+
Connect the device to PC in mass storage mode and create the files below in your PC and copy them into MyDocs folder.
</li>
</li>
 +
* activesync.conf
 +
<pre>
 +
[Syslog]
 +
Enabled=0
 +
 +
[FileLog]
 +
Path=/home/user/MyDocs/activesync.log
 +
Enabled=1
 +
 +
[StdStreamLog]
 +
Enabled=0
 +
StdErrEnabled=0
 +
 +
[ExtendedLog]
 +
Enabled=1
 +
 +
[Log%20categories]
 +
Calendar=1
 +
Contacts=1
 +
Settings=1
 +
Statistic=0
 +
Transfer=
 +
Meetings=1
 +
Network=1
 +
Storage=1
 +
DBus=1
 +
AS_LIB=1
 +
General=1
 +
</pre>
 +
* Fenix.conf
 +
<pre>
 +
[Syslog]
 +
Enabled=0
 +
 +
[FileLog]
 +
Path=/home/user/MyDocs/fenix.log
 +
Enabled=1
 +
 +
[StdStreamLog]
 +
Enabled=1
 +
 +
[Log%20categories]
 +
Fenix=1
 +
 +
</pre>
 +
* Messageserver.conf
 +
<pre>
 +
[Syslog]
 +
Enabled=0
 +
 +
[FileLog]
 +
Path=/home/user/MyDocs/messageserver.log
 +
Enabled=1
 +
 +
[StdStreamLog]
 +
Enabled=0
 +
 +
[Log%20categories]
 +
IMAP=1
 +
Messaging=1
 +
POP=1
 +
SMTP=1
 +
 +
</pre>
 +
* Msgindexer.conf
 +
<pre>
 +
[Syslog]
 +
Enabled=0
 +
 +
[FileLog]
 +
Path=/home/user/MyDocs/msgindexer.log
 +
Enabled=1
 +
 +
[StdStreamLog]
 +
Enabled=1
 +
 +
[Log%20categories]
 +
Notification=1
 +
Queries=0
 +
Indexer=0
 +
Heartbeat=1
 +
Scheduler=1
 +
Watcher=1
 +
 +
[Notification]
 +
Enabled=1
 +
 +
</pre>
<li>
<li>
Launch terminal application and run the following command:
Launch terminal application and run the following command:
</li>
</li>
<pre>
<pre>
-
cp /home/user/MyDocs/*.conf /home/user/.config/Nokia/
+
cd /home/user/MyDocs/
 +
cp activesync.conf Fenix.conf Messageserver.conf Msgindexer.conf /home/user/.config/Nokia/
</pre>
</pre>
<li>
<li>
Line 27: Line 122:
</li>
</li>
<li>
<li>
-
Connect the device to PC in mass storage mode and copy the conf files from the MyDocs folder.  
+
Connect the device to PC in mass storage mode and copy the log files from the MyDocs folder.  
</li>
</li>
</ol>
</ol>
==== Turning the logging OFF ====  
==== Turning the logging OFF ====  
-
 
-
In order to turn the logs OFF, execute the following commands from xterm:
 
 +
<br>
 +
In order to turn the logs OFF, you can disable logging in all the files copied above or remove them.
 +
 +
* To disable logging change all "Enabled" fields from '1' to '0' :
<pre>
<pre>
 +
sed -e 's|Enabled=1|Enabled=0|g' -i ~/.config/Nokia/*
 +
</pre>
 +
 +
* To remove the files you can use the following command on terminal:
 +
 +
<pre>
 +
cd /home/user/.config/Nokia/
 +
rm activesync.conf Fenix.conf Messageserver.conf Msgindexer.conf
</pre>
</pre>
After device reboot the logs will not be collected.
After device reboot the logs will not be collected.
 +
 +
===== MORE ====
 +
 +
[[Fenix]] [[Harmattan]] [[Nokia N9]] [[Nokia N950]]

Latest revision as of 16:39, 21 January 2013

Contents

[edit] How can I ask questions or report issues ?


[edit] How can I turn the logging ON or OFF?

Warning:

Before sending the logs to somebody (including Nokia) or publishing them, check that the log files do not contain any data which you treat as private or confidential!


[edit] Turning the logging ON

  1. Enable Developer mode from settings --> Security --> Developer Mode.
  2. Wait until the device reboots.
  3. Connect the device to PC in mass storage mode and create the files below in your PC and copy them into MyDocs folder.
    • activesync.conf
    [Syslog]
    Enabled=0
    
    [FileLog]
    Path=/home/user/MyDocs/activesync.log
    Enabled=1
    
    [StdStreamLog]
    Enabled=0
    StdErrEnabled=0
    
    [ExtendedLog]
    Enabled=1
    
    [Log%20categories]
    Calendar=1
    Contacts=1
    Settings=1
    Statistic=0
    Transfer=
    Meetings=1
    Network=1
    Storage=1
    DBus=1
    AS_LIB=1
    General=1
    
    • Fenix.conf
    [Syslog]
    Enabled=0
    
    [FileLog]
    Path=/home/user/MyDocs/fenix.log
    Enabled=1
    
    [StdStreamLog]
    Enabled=1
    
    [Log%20categories]
    Fenix=1
    
    
    • Messageserver.conf
    [Syslog]
    Enabled=0
    
    [FileLog]
    Path=/home/user/MyDocs/messageserver.log
    Enabled=1
    
    [StdStreamLog]
    Enabled=0
    
    [Log%20categories]
    IMAP=1
    Messaging=1
    POP=1
    SMTP=1
    
    
    • Msgindexer.conf
    [Syslog]
    Enabled=0
    
    [FileLog]
    Path=/home/user/MyDocs/msgindexer.log
    Enabled=1
    
    [StdStreamLog]
    Enabled=1
    
    [Log%20categories]
    Notification=1
    Queries=0
    Indexer=0
    Heartbeat=1
    Scheduler=1
    Watcher=1
    
    [Notification]
    Enabled=1
    
    
  4. Launch terminal application and run the following command:
  5. cd /home/user/MyDocs/
    cp activesync.conf Fenix.conf Messageserver.conf Msgindexer.conf /home/user/.config/Nokia/
    
  6. Reboot the device and reproduce your problem.
  7. Connect the device to PC in mass storage mode and copy the log files from the MyDocs folder.

[edit] Turning the logging OFF


In order to turn the logs OFF, you can disable logging in all the files copied above or remove them.

  • To disable logging change all "Enabled" fields from '1' to '0' :
sed -e 's|Enabled=1|Enabled=0|g' -i ~/.config/Nokia/*


  • To remove the files you can use the following command on terminal:
cd /home/user/.config/Nokia/
rm activesync.conf Fenix.conf Messageserver.conf Msgindexer.conf

After device reboot the logs will not be collected.

[edit] = MORE

Fenix Harmattan Nokia N9 Nokia N950