You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit enhances previous one to:
- not fail if configuration file does not contain custom_queries part
- ensure, that .config folder can be created in docker container as well
- ensure, that a docker container can be stopped on SIGTERM
- ensure, that right default logging setting is given.
It is recommend to specify the corresponding volume in order to persist the data.
68
69
@@ -114,17 +115,13 @@ That should be it! Now you have the server running at `localhost:3000` accessibl
114
115
115
116
### Troubleshooting
116
117
117
-
if you are receiving the following error in step 5
118
-
118
+
By default the log level is set to `INFO`. If a more detailed log is required, the application can be run with DEBUG or even TRACE messages.
119
+
For debug messages, just set the environment "RUST_LOG" to "DEBUG":
119
120
```shell
120
-
121
-
thread 'main' panicked at build.rs:7:19:
122
-
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
123
-
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
124
-
121
+
env RUST_LOG="DEBUG" cargo run
125
122
```
126
123
127
-
It's because, `tailwindcss-cli` is missing
124
+
If a fine granular configuration is desired - the application log itself is captured with the name `taskwarrior_web`.
128
125
129
126
## Customizing
130
127
@@ -260,7 +257,7 @@ As soon as one of the other reports like `next`, `pending` or others are selecte
260
257
261
258
Beside of a configuration file, it is possible to configure via environment variables as well:
262
259
```shell
263
-
env TWK_custom_queries__one_query__fixed_key=ni TWK_custom_queries__one_query__query="end.after:today-1wk and status:completed" TWK_custom_queries__one_query__description="completed last 7days"RUST_LOG="INFO"cargo run
260
+
env TWK_custom_queries__one_query__fixed_key=ni TWK_custom_queries__one_query__query="end.after:today-1wk and status:completed" TWK_custom_queries__one_query__description="completed last 7days" cargo run
264
261
```
265
262
266
263
The same way it is possible to configure the docker container accordingly.
0 commit comments