Docs: Added logging details

This commit is contained in:
Paul Beckingham 2016-03-13 15:06:39 -04:00
parent 9f4b6378d2
commit a0833e2de8

View file

@ -97,5 +97,33 @@ The undo stack will be stored as:
~/.timewarrior/undo.data
Logging
-------
Timewarrior will log many messages, but the logging will be configurable. The
configuration will be:
define configuration:
logging:
file /path/to/log/file
categories a,b,c,!d
This indicates that categories 'a', 'b', and 'c' are desired, and 'd' is
explicitly not desired. The categories are:
command (distinguishes tty and non-tty commands)
performance
rules
io
parsing
warnings
errors
info
A log entry will have this form:
YYYY-MM-DDTHH:MM:SS <version> <category> <message>
---