Problem: cannot import name 'Structured' from 'univention.logging'

Problem

cannot import name ‘Structured’ from ‘univention.logging’ (/usr/lib/python3/dist-packages/univention/logging.py) reported when importing users by csv etc.

Environment

UCS 5.2

Solution

Restart the Server or all Univention Services

Root Cause

The Structured Logging has been implemented during a minor update, so there is an issue if processes where not restarted during that update, but load new python modules dynamically.

This topic was automatically closed after 24 hours. New replies are no longer allowed.