Reset pointers before logging is shutdown to prevent destructors logging to unitialized logger