From: Reis Radomil Date: Fri, 6 Apr 2018 01:55:51 +0000 (+0000) Subject: doc: Describe logging capabilities of NeoMutt X-Git-Tag: neomutt-20180512~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d811a736c4e01307aeaa17526375b8a9f8924ef;p=neomutt doc: Describe logging capabilities of NeoMutt Describe the logging capabilities of NeoMutt in the User Guide. The section currently covers the different log message types (perror, error, warning, informational debug), where they are shown and how to enable debug log messages. --- diff --git a/doc/manual.xml.head b/doc/manual.xml.head index 46672a4f6..8866ec6cd 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -2964,6 +2964,47 @@ color sidebar_divider color8 default See also the $postpone quad-option. + + + Logging + NeoMutt has different types of logging/error messages + + Primitive Errors: + errors emitted by C library functions such + as fopen(). + + Errors + + Warnings + + Message: + Informational messages such as Sorting mailbox.... + + Debug: + Debug messages usually only interesting while debugging. + + + These log messages are shown in the command bar at the bottom of the + UI (usually below the status line) and errors are shown in a different + colour than the other message types. The colours used for displaying can + be adjusted with color error ... and color + message ..., respectively. See the + description of color for the precise syntax. + + The command bar shows only the last message. To show the last 100 + messages (this includes all types of messages from debug to error) the + function + <show-log-messages> can be used. + Debug messages are not shown by default. To enable them NeoMutt + must be compiled with +debug. Furthermore, the debug + log level must be set with the + -d command line parameter at startup. The + -d parameter expects a debug level which can range + from 1 to 5 and affects verbosity of the debug messages. A value of 2 is + recommended for the start. If debug logging is enabled, all log messages + (i.e. errors, warnings, ..., debug) are additionally written to the file + ~/.neomuttdebug0. +