Fix network logging