Logs flooded with deprecation notices

User avatar
ratmix
Member
 
Posts: 148
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Logs flooded with deprecation notices

by ratmix » Mon Aug 20, 2018 01:08

My server log is flooded with hundreds of thousands of deprecation notices. Is there any way to turn these off?...

Code: Select all
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...minetest_game/mods/mesecons-master/mesecons/settings.lua:13)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...minetest_game/mods/mesecons-master/mesecons/settings.lua:13)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...ame/mods/MoreMesecons-master/moremesecons_utils/init.lua:15)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:34: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
2018-08-19 20:06:35: WARNING[Server]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object. (at ...etest/games/minetest_game/mods/minetest_hudbars/init.lua:553)
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site
 

User avatar
TenPlus1
Member
 
Posts: 2608
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Logs flooded with deprecation notices

by TenPlus1 » Mon Aug 20, 2018 07:15

Click SETTINGS -> ADVANCED SETTINGS -> Search for 'log' and set debug_log_level to 'none' or blank
 

User avatar
Linuxdirk
Member
 
Posts: 2169
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: Logs flooded with deprecation notices

by Linuxdirk » Mon Aug 20, 2018 07:19

TenPlus1 wrote:Click SETTINGS -> ADVANCED SETTINGS -> Search for 'log' and set debug_log_level to 'none' or blank

Or open issues on this so the mod authors fix their outdated code.
 

User avatar
Krock
Developer
 
Posts: 4365
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: Logs flooded with deprecation notices

by Krock » Mon Aug 20, 2018 13:48

The warnings are the least what bother me about this post.
Please. PLEASE move all additional mods (minetest_hudbars, mesecons) out of your game directory. These mods belong into ~/.minetest/mods/ (for system-wide installations), How to install mods correctly. Your future person will thank you a lot for doing this. Otherwise updating minetest_game becomes a pain, especially when it's not cloned with git.

EDIT regarding the actual warnings: Update the mods, then open an issue for the authors if the warnings persist.
>> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
ratmix
Member
 
Posts: 148
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Re: Logs flooded with deprecation notices

by ratmix » Mon Aug 20, 2018 22:04

TenPlus1 wrote:Click SETTINGS -> ADVANCED SETTINGS -> Search for 'log' and set debug_log_level to 'none' or blank

What is the equivalent on a headless server? Couldn't find a similar argument here: https://wiki.minetest.net/Command_line.

Also, it seems that Minetest should not spam the logs with the same deprecation message 10 times per second. This is an issue with Minetest, not the mod authors.
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site
 

User avatar
Hamlet
Member
 
Posts: 549
Joined: Sat Jul 29, 2017 21:09
Location: Lombardy, Italy
GitHub: h4ml3t
IRC: H4mlet

Re: Logs flooded with deprecation notices

by Hamlet » Mon Aug 20, 2018 22:50

ratmix wrote:
TenPlus1 wrote:Click SETTINGS -> ADVANCED SETTINGS -> Search for 'log' and set debug_log_level to 'none' or blank

What is the equivalent on a headless server? Couldn't find a similar argument here: https://wiki.minetest.net/Command_line.


minetest.conf.example (Minetest v0.4.17.1) at line 1778:

# Level of logging to be written to debug.txt:
# - <nothing> (no logging)
# - none (messages with no level)
# - error
# - warning
# - action
# - info
# - verbose
# type: enum values: , none, error, warning, action, info, verbose
# debug_log_level = action
SelfNote: "KeepCalm, Remember that Ppl also HaveRealLife stuff to do. PS bite your tongue, just in case."
 

User avatar
ratmix
Member
 
Posts: 148
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Re: Logs flooded with deprecation notices

by ratmix » Tue Aug 21, 2018 01:05

Thanks @Hamlet
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site
 


Return to Problems



Who is online

Users browsing this forum: bikerchick and 7 guests