mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 19:15:11 +00:00
Stop LogMonitor on EventHandler.cleanup() in LogMonitoringEH
This commit is contained in:
@ -54,3 +54,6 @@ class LogMonitoringEventHandler(EventHandlerBase, MonitorManagerMixin):
|
|||||||
|-value: new tail length
|
|-value: new tail length
|
||||||
"""
|
"""
|
||||||
self.set_monitor_args(self.process_name, data['value'])
|
self.set_monitor_args(self.process_name, data['value'])
|
||||||
|
|
||||||
|
def cleanup(self):
|
||||||
|
self.monitor.stop()
|
||||||
|
Reference in New Issue
Block a user