Fijxu
b1f25a69ad
Logger: Add color support for different log levels
2024-10-08 18:59:01 -03:00
syeopite
e098c27a45
Remove unused methods in Invidious::LogHandler
2024-07-28 16:44:30 -07:00
Samantaz Fox
e655af251c
Try not to log search queries ( #2362 )
2021-09-16 09:36:22 +00:00
saltycrys
a0bc0641c7
Unrequire logger
...
Crystal's `Logger` was required but never used in Invidious. Crystal 0.36.0
removed `Logger` in favor of `Log`.
2021-01-31 03:33:38 +01:00
saltycrys
7a8620a570
Add CLI arguments to config file
...
The log level can now be set with `log_level` (accepts ints and strings).
The log file can now be set with `output` (also accepts `STDOUT`).
2021-01-05 20:35:59 +01:00
saltycrys
b39f01dcdf
Improve logging
...
Everything that gets logged now has a log level associated with it.
The log level can be set with the new `-l` or `--log-level` arguments.
The defaul log level is `debug` for now. There aren't many things that get
logged but if the logs get spammed in the future it can be set down to `info`.
2020-12-21 16:32:34 +01:00
Omar Roth
58995bb3a2
Add support for log levels
2019-06-07 21:13:50 -05:00
Omar Roth
8c944815bc
Minor refactor
2019-06-07 21:13:50 -05:00
Omar Roth
af449161ff
Add -o option for redirecting output
2019-01-23 14:15:19 -06:00