From 8b82b4b58f12174c36c9e96c60e27ada253574d0 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Tue, 11 Jan 2022 12:13:50 -0500 Subject: [PATCH] fix usage of level debug in log --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 5f21050..8fe7211 100644 --- a/init.lua +++ b/init.lua @@ -85,7 +85,7 @@ minetest.register_on_joinplayer( function ( player ) auth_db.on_login_success( player_name, player_ip ) auth_db.on_session_opened( player_name ) auth_watchdog.on_success( convert_ipv4( player_ip ) ) - minetest.log( "debug", "[auth_rx] in authentication database players success joined ".. player_name ) + minetest.log( "warning", "[auth_rx] in authentication database players success joined ".. player_name ) else minetest.log( "error", "[auth_rx] incomplete auth process on player obj nil ip obj address" ) end @@ -97,7 +97,7 @@ minetest.register_on_leaveplayer( function ( player ) if player ~= nil then name = player:get_player_name( ) auth_db.on_session_closed( name ) - minetest.log( "debug", "[auth_rx] player "..name.." leaving" ) + minetest.log( "warning", "[auth_rx] player "..name.." leaving" ) else minetest.log( "error", "[auth_rx] incomplete player leaving without writing in dbx due nil object" ) end