Open lostsoul6 opened 9 months ago
Hi @dasisdormax can you please help me with this? thanks
There is no feature to disable the game logs. Do you really need that?
@dasisdormax I have the exact same setup (addons,plugins) on two different VMs that are on the same dedicated server . The only difference is that one is using steamcmd directly without logs and the other is with msm which is logging the console . I noticed that CPU usage in the server with msm is higher than the one without msm . Since every other single variable is the same in my setup , I'm assuming that the logging feature of msm could be the reason . I would like to turn it off and see if it makes any difference .
I can't imagine the logging to have a significant performance impact, and think other reasons are more likely.
If you want to try to disable logging anyway, you can edit the file program/Core/Server/functions.sh, around line 70, and
replace the line script -c '$(quote $LAUNCH_CMD)' "$LOGDIR/\$(timestamp)-server.log"
with just $LAUNCH_CMD
@dasisdormax thanks it worked . By disabling logging , I was able to get around the same CPU usage as the other server . The difference is noticeable for me as my resources are limited .
Hi @dasisdormax ,
Is it possible to turn off logs in /msm.d/cs2/log/instance-name ? If yes , how should I achieve it?