mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Docs: Added logging details
This commit is contained in:
parent
9f4b6378d2
commit
a0833e2de8
1 changed files with 28 additions and 0 deletions
28
doc/data.txt
28
doc/data.txt
|
@ -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>
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue