Email and Mail for Exchange n9

(Turning the logging ON)
Line 116: Line 116:
</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>

Revision as of 08:18, 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. 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.

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.