MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / clearLogStorage

Method clearLogStorage

src/astroprint/plugin/services/system.py:525–529  ·  view source on GitHub ↗
(self, data, sendResponse)

Source from the content-addressed store, hash-verified

523 })
524
525 def clearLogStorage(self, data, sendResponse):
526 if softwareManager.clearLogs():
527 sendResponse({'success': 'no_error'})
528 else:
529 sendResponse("error_clearing_logs",True)
530
531
532 def clearFileStorage(self, data, sendResponse):

Callers

nothing calls this directly

Calls 1

clearLogsMethod · 0.45

Tested by

no test coverage detected