diff --git a/bin/bitbake-worker b/bin/bitbake-worker
index d743ff510..09e486f7e 100755
--- a/bin/bitbake-worker
+++ b/bin/bitbake-worker
@@ -275,6 +275,8 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
                         bb.utils.disable_network(uid, gid)
                     else:
                         logger.debug("Skipping disable network for %s since %s is not a local uid." % (taskname, uid))
+                else:
+                    logger.debug("Skipping disable network for %s since network varFlag is set to %s." % (taskname, the_data.getVarFlag(taskname, 'network')))
 
                 # exported_vars() returns a generator which *cannot* be passed to os.environ.update() 
                 # successfully. We also need to unset anything from the environment which shouldn't be there 
