Make logging work from network.js when used from addon