Stefan1200's Forum

English => General Discussions => Topic started by: kidi on October 28, 2016, 02:45:58 PM

Title: Reduced amount of logging per function / advanced logging discussion
Post by: kidi on October 28, 2016, 02:45:58 PM
Hi Stefan!
I was thinking about limiting the amount of logging per functions, for example, i have log file which is full of stuff like this

2016-10-28 10:58:00 Function idle_15min INFO Added client "XXXXX" (db id: XXXXX) to server group id 183 for being idle!
Is there any way to disable logging of information, but keeping the errors?
Or even like that: alternate logging folder and logging per function
/home/ts3/jts3/logs/badchannelname.log
/home/ts3/jts3/logs/idle_15min.log
/home/ts3/jts3/logs/
/home/ts3/jts3/logs/JTS3ServerMod_InstanceManager.log
/home/ts3/jts3/logs/instance_name.log

(sorry for my russian)
Title: Re: Reduced amount of logging per function / advanced logging discussion
Post by: Stefan1200 on October 28, 2016, 03:47:27 PM
Did you tested the bot setting bot_log_level? Just set this to 2 (= Warning and Errors).
Title: Re: Reduced amount of logging per function / advanced logging discussion
Post by: kidi on October 29, 2016, 09:05:58 PM
Actually... This is good solution for me