Loggers dropdown empty

What is the problem?

It appears as if the Logging-plugin can't find any available loggers to use. The Logging plugin itself is enabled, I can see the 'Logging' section in the configuration menu, however the dropdown that (I assume) is supposed to contain all channels of information that can potentially be logged is empty.


What did you already try to solve it?

I tried to disable / and re-enable the Logging plugin itself, but that did not make a difference. Earlier, my setup was running on a Raspberry Pi using OctoPi when this occured. Now I have moved to a different setup running on a Radxa Rock Pi 4B Plus which runs the DietPi linux disto with Octoprint installed using DietPi's built-in software feature to which I have restored the back-up of my Raspberry setup, but still having the same problem. Otherwise Octoprint seems to work properly and I have no problems during prints or anything.

Have you tried running in safe mode?

Yes, in safe mode the same behaviour is present on the logging configuration page.

Did running in safe mode solve the problem?

No.

Systeminfo Bundle

octoprint-systeminfo-20250223224458.zip (28.6 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

  • OctoPrint 1.10.3
  • Python 3.11.2

The Errors in the SystemInfo bundle seem to indicate an error when trying to load/process the Logger plugin:

2025-02-23 22:44:55,188 - octoprint - ERROR - Exception on /plugin/logging/ [GET] Traceback (most recent call last): File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 1646, in decorated_view return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/octoprint/access/permissions.py", line 175, in _decorated rv = f(*args, **kw) ^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/octoprint/plugins/logging/__init__.py", line 48, in get_all levels = self._get_logging_levels() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/dietpi_userdata/octoprint/.local/lib/python3.11/site-packages/octoprint/plugins/logging/__init__.py", line 193, in _get_logging_levels for key, value in config.get("loggers", {}).items() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'items'