forked from Mirrorlandia_minetest/minetest
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