mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +01:00
parent
3b9f99e0d6
commit
df80b1ae5a
@ -540,7 +540,7 @@ static void init_log_streams(const Settings &cmd_args)
|
||||
conf_loglev = lev_name[lev_i];
|
||||
}
|
||||
|
||||
if (conf_loglev.empty()) // No logging
|
||||
if (log_filename.empty() || conf_loglev.empty()) // No logging
|
||||
return;
|
||||
|
||||
LogLevel log_level = Logger::stringToLevel(conf_loglev);
|
||||
|
Loading…
Reference in New Issue
Block a user