Don't log output of cosmic-comp/cosmic-panel, log panics
It is better to have `cosmic-comp` and `cosmic-panel` log to journald themselves. Having panics logged should be helpful if panics ever occur.
This commit is contained in:
parent
9c96fde423
commit
1fe93839db
4 changed files with 56 additions and 80 deletions
11
Cargo.lock
generated
11
Cargo.lock
generated
|
|
@ -232,6 +232,7 @@ dependencies = [
|
|||
"futures-util",
|
||||
"launch-pad",
|
||||
"libc",
|
||||
"log-panics",
|
||||
"nix 0.25.0",
|
||||
"scopeguard",
|
||||
"sendfd",
|
||||
|
|
@ -484,6 +485,16 @@ dependencies = [
|
|||
"cfg-if",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "log-panics"
|
||||
version = "2.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "68f9dd8546191c1850ecf67d22f5ff00a935b890d0e84713159a55495cc2ac5f"
|
||||
dependencies = [
|
||||
"backtrace",
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "matchers"
|
||||
version = "0.1.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue