Compare commits

...

1 Commits

Author SHA1 Message Date
Mateusz Bajorski
9145710358 ucentral-pstore: Disable printing processed lines
When processing huge console log and dmesg files printing lines
hanged execution blocking ucentral-state startup process.

It seems stdout is mainly for debug purposes and lines are
printed after we store file, so it is safe to disable print
as file is already processed and can be examined.

Fixes: WIFI-15356

Signed-off-by: Mateusz Bajorski <mbajorski@shasta.cloud>
Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
2026-03-06 18:47:05 +01:00

View File

@@ -23,7 +23,6 @@ function move_to_json(src, dst) {
msg[fs.basename(dst)] = lines;
fd.write(msg);
fd.close();
print(lines);
}
move_to_json('/sys/fs/pstore/dmesg-ramoops-0', '/tmp/crashlog');