mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 09:53:30 +00:00
Don't want only debug logs lol
This commit is contained in:
parent
ebc78f442b
commit
73b286df12
|
@ -235,13 +235,11 @@ impl Node {
|
|||
|
||||
// Set a default if the user hasn't set an override
|
||||
if std::env::var("RUST_LOG") == Err(std::env::VarError::NotPresent) {
|
||||
// let level = if cfg!(debug_assertions) {
|
||||
// "debug"
|
||||
// } else {
|
||||
// "info"
|
||||
// };
|
||||
|
||||
let level = "debug";
|
||||
let level = if cfg!(debug_assertions) {
|
||||
"debug"
|
||||
} else {
|
||||
"info"
|
||||
};
|
||||
|
||||
std::env::set_var(
|
||||
"RUST_LOG",
|
||||
|
|
Loading…
Reference in a new issue