aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--doc/aerc.1.scd8
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index dac88486..7a074066 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,10 @@ Then compile aerc:
On its first run, aerc will copy the default config files to `~/.config/aerc`
and show the account configuration wizard.
+If you redirect stdout to a file, logging output will be written to that file:
+
+ $ aerc > log
+
## Resources
[Send patches](https://git-send-email.io) and questions to
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 7b09531b..e7d3c59f 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -132,6 +132,14 @@ message list, the message in the message viewer, etc).
*close*
Closes the terminal.
+# LOGGING
+
+Aerc does not log by default, but collecting log output can be useful for
+troubleshooting and reporting issues. Redirecting stdout when invoking aerc will
+write log messages to that file:
+
+ $ aerc > log
+
# SEE ALSO
*aerc-config*(5) *aerc-imap*(5) *aerc-smtp*(5) *aerc-tutorial*(7)