Trying to fix null pointer in SystemNetLogging