Univention Bugzilla – Attachment 10604 Details for
Bug 52686
Python3 UMC Modules don't log anything
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Workaround-for-python3-umc-module-logging-2.patch
Workaround-for-python3-umc-module-logging-2.patch (text/plain), 1.07 KB, created by
Arvid Requate
on 2021-01-25 18:37:32 CET
(
hide
)
Description:
Workaround-for-python3-umc-module-logging-2.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2021-01-25 18:37:32 CET
Size:
1.07 KB
patch
obsolete
>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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52686
:
10603
| 10604