adding network logging