Moving netty log setting to out of the class