Reduce some log levels

This commit is contained in:
Wuzzy 2020-03-30 23:15:58 +02:00
parent 6cec6e6a12
commit ed7e360ab4
5 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
-- Increment counder
awards.players[playern].count[mod][item]=awards.players[playern].count[mod][item]+1
minetest.log("action", " - "..mod..":"..item.." 's count is now "..(awards.players[playern].count[mod][item]))
minetest.log("info", "[awards] - "..mod..":"..item.." 's count is now "..(awards.players[playern].count[mod][item]))
-- Run callbacks and triggers
local player=digger
@ -91,7 +91,7 @@ minetest.register_on_placenode(function(pos,node,digger)
-- Increment counder
awards.players[playern].place[mod][item] = awards.players[playern].place[mod][item]+1
minetest.log("action", " - "..mod..":"..item.." 's place count is now "..(awards.players[playern].place[mod][item]))
minetest.log("info", "[awards] - "..mod..":"..item.." 's place count is now "..(awards.players[playern].place[mod][item]))
-- Run callbacks and triggers
local player = digger

View File

@ -182,5 +182,5 @@ minetest.register_entity(":__builtin:item", {
})
if minetest.settings:get("log_mods") then
minetest.log("action", "builtin_item loaded")
minetest.log("verbose", "builtin_item loaded")
end

View File

@ -55,4 +55,4 @@ plantslib:spawn_on_surfaces({
minetest.register_alias("bushes:basket_pies", "bushes:basket_strawberry")
minetest.log("action", S("[Bushes] Loaded."))
minetest.log("verbose", S("[Bushes] Loaded."))

View File

@ -71,5 +71,5 @@ minetest.register_globalstep(function(dtime)
end)
if minetest.settings:get("log_mods") then
minetest.log("action", "item_drop loaded")
minetest.log("verbose", "item_drop loaded")
end

View File

@ -214,7 +214,7 @@ burn = function(pos)
end
if minetest.settings:get("log_mods") then
minetest.log("action", "tnt loaded")
minetest.log("verbose", "tnt loaded")
end