[Server] Guard logging with #if LOG4NET
[Server] Coding style fixup