added server log filtering

added log filtering based on configuration file setting
0 = log everything
1 = log nothing
2 = chat logging only