mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
use log and env_logger, and add some logging around sync
This commit is contained in:
parent
c117494ce6
commit
0a1ee470f7
13 changed files with 109 additions and 14 deletions
|
@ -32,3 +32,11 @@ The following configuration parameters are available:
|
|||
Run `taskchampion-sync-server` to start the sync server.
|
||||
Use `--port` to specify the port it should listen on, and `--data-dir` to specify the directory which it should store its data.
|
||||
It only serves HTTP; the expectation is that a frontend proxy will be used for HTTPS support.
|
||||
|
||||
## Debugging
|
||||
|
||||
Both `task` and `taskchampio-sync-server` use [env-logger](https://docs.rs/env_logger) and can be configured to log at various levels with the `RUST_LOG` environment variable.
|
||||
For example:
|
||||
```shell
|
||||
$ RUST_LOG=taskchampion=trace task add foo
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue