made --use-config-logging only active on Unix (as --foreground doesn't exist on Windows)