Fixed logging to occur to files in case of NetKit, and syslog otherwise (could also make it much less verbose at some point for non-NetKit).