log: cleanup logs for files, system and bed_mesh

functions: log if DPMS fails to load
screen: log send_action
This commit is contained in:
alfrix
2022-11-12 12:46:55 -03:00
parent 300eed4d29
commit 1e6a9ec8ae
4 changed files with 12 additions and 13 deletions

View File

@@ -856,7 +856,6 @@ class KlipperScreen(Gtk.Window):
elif action == "notify_status_update" and self.printer.get_state() != "shutdown":
self.printer.process_update(data)
elif action == "notify_filelist_changed":
logging.debug("Filelist changed: %s", json.dumps(data, indent=2))
if self.files is not None:
self.files.process_update(data)
elif action == "notify_metadata_update":
@@ -923,6 +922,7 @@ class KlipperScreen(Gtk.Window):
widget.destroy()
def _send_action(self, widget, method, params):
logging.info(f"{method}: {params}")
self._ws.send_method(method, params)
def printer_initializing(self, text=None, disconnect=False):