Email and Mail for Exchange n9

(Turning the logging OFF)
Line 109: Line 109:
</li>
</li>
<pre>
<pre>
-
cp /home/user/MyDocs/*.conf /home/user/.config/Nokia/
+
cp /home/user/MyDocs/activesync.conf Fenix.conf Messageserver.conf Msgindexer.conf /home/user/.config/Nokia/
</pre>
</pre>
<li>
<li>

Revision as of 08:04, 6 October 2011

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!

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.log
    [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. cp /home/user/MyDocs/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 conf files from the MyDocs folder.

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'
  • 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.