| 1 | # Enabling logging for dekkod {#dekkod_logging} |
| 2 | |
| 3 | To enable logging for dekkod, the config parameter `Enabled` in the section `StdStreamLog` of the file `~/.config/dekko2.dekkoproject/dekkod.conf` must be set to `1` like in this snippet: |
| 4 | |
| 5 | |
| 6 | ``` |
| 7 | phablet@ubuntu-phablet:~$ cat .config/dekko2.dekkoproject/dekkod.conf |
| 8 | [FileLog] |
| 9 | Enabled=0 |
| 10 | Path= |
| 11 | |
| 12 | [LogCategories] |
| 13 | IMAP=1 |
| 14 | Messaging=1 |
| 15 | POP=1 |
| 16 | SMTP=1 |
| 17 | |
| 18 | [StdStreamLog] |
| 19 | Enabled=1 |
| 20 | |
| 21 | [Syslog] |
| 22 | Enabled=1 |
| 23 | ``` |
| 24 | |
| 25 | After restarting dekkod by issuing `systemctl --user restart dekkod`, the log can |
| 26 | be fetch with `journalctl --user -u dekkod`. |
| 27 |