Log to journald, and log panics
This integrates a bit better than having `cosmic-session` copy logs from stderr to journald, and works when not started through `cosmic-session`. Having panics logged should be helpful if panics ever occur.
This commit is contained in:
parent
31768f2c97
commit
49e0a5f3f4
3 changed files with 111 additions and 15 deletions
|
|
@ -11,6 +11,7 @@ bitflags = "1.3.2"
|
|||
slog = { version = "2.7", features = [] } # "release_max_level_debug", "max_level_trace"] }
|
||||
slog-term = "2.8"
|
||||
slog-async = "2.7"
|
||||
slog-journald = "2.2.0"
|
||||
slog-scope = "4.4"
|
||||
slog-stdlog = "4.1"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
|
@ -21,6 +22,7 @@ renderdoc = { version = "0.10.1", optional = true }
|
|||
edid-rs = { version = "0.1" }
|
||||
png = "0.17.5"
|
||||
lazy_static = "1.4.0"
|
||||
log-panics = { version = "2", features = ["with-backtrace"] }
|
||||
thiserror = "1.0.26"
|
||||
regex = "1"
|
||||
xcursor = "0.3.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue