|
|
@ -45,15 +45,16 @@ last_messages = ""
|
|
|
|
|
|
|
|
|
|
|
|
def check_filtered_kernel():
|
|
|
|
def check_filtered_kernel():
|
|
|
|
messages = get_kernel_messages()
|
|
|
|
messages = get_kernel_messages()
|
|
|
|
messages.replace(last_messages, "")
|
|
|
|
if messages:
|
|
|
|
messages = messages.split("\n")
|
|
|
|
messages.replace(last_messages, "")
|
|
|
|
|
|
|
|
messages = messages.split("\n")
|
|
|
|
filtered_messages = []
|
|
|
|
|
|
|
|
for message in messages:
|
|
|
|
filtered_messages = []
|
|
|
|
if custom_filter(message):
|
|
|
|
for message in messages:
|
|
|
|
filtered_messages.append(message)
|
|
|
|
if custom_filter(message):
|
|
|
|
|
|
|
|
filtered_messages.append(message)
|
|
|
|
return "\n".join(filtered_messages)
|
|
|
|
|
|
|
|
|
|
|
|
return "\n".join(filtered_messages)
|
|
|
|
|
|
|
|
|
|
|
|
async def put_kernel_messages_into_queue(queue):
|
|
|
|
async def put_kernel_messages_into_queue(queue):
|
|
|
|
while True:
|
|
|
|
while True:
|
|
|
|