zed: Fix file logging being disabled accidentally (#51121)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
1 parent
e5a3adc46f
commit
6da779ff9e
1 file changed
+1
-1
@@ -276,7 +276,7 @@ fn main() {
|
||||
|
||||
zlog::init();
|
||||
|
||||
if true {
|
||||
if stdout_is_a_pty() {
|
||||
zlog::init_output_stdout();
|
||||
} else {
|
||||
let result = zlog::init_output_file(paths::log_file(), Some(paths::old_log_file()));
|
||||
|
||||
Reference in new issue
Block a user