Reduced amount of logging per function / advanced logging discussion

Started by kidi, October 28, 2016, 02:45:58 PM

Previous topic - Next topic

kidi

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)

Stefan1200

Did you tested the bot setting bot_log_level? Just set this to 2 (= Warning and Errors).

kidi