diff --git a/management/univention-management-console/scripts/univention-management-console-module b/management/univention-management-console/scripts/univention-management-console-module index 67f348087f..578c2f6f9d 100755 --- a/management/univention-management-console/scripts/univention-management-console-module +++ b/management/univention-management-console/scripts/univention-management-console-module @@ -67,6 +67,12 @@ if __name__ == '__main__': options = parser.parse_args() + # no notifier logging + nflog.instance.handlers = [] + # to activate notifier logging + # nflog.set_level(nflog.DEBUG) + # nflog.open() + if not options.foreground: daemon = DaemonContext(detach_process=False, prevent_core=False, umask=0o077) daemon.signal_map = { @@ -84,11 +90,6 @@ if __name__ == '__main__': # init logging debug_fd = log_init(options.logfile % {'module': options.module}, options.debug) - # no notifier logging - nflog.instance.handlers = [] - # to activate notifier logging - # nflog.set_level(nflog.DEBUG) - # nflog.open() try: locale_obj = Locale(options.language)