projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97985f
)
Fix a bottleneck in log processing
16/232116/1
author
Michal Bloch
<m.bloch@samsung.com>
Tue, 28 Apr 2020 09:19:32 +0000
(11:19 +0200)
committer
Michal Bloch
<m.bloch@samsung.com>
Tue, 28 Apr 2020 09:35:23 +0000
(11:35 +0200)
Change-Id: I64cd95f2f6d6f1ba8b9967e4978f43e02bfdb311
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/logger/logger.c
patch
|
blob
|
history
diff --git
a/src/logger/logger.c
b/src/logger/logger.c
index
07378ba
..
7487836
100644
(file)
--- a/
src/logger/logger.c
+++ b/
src/logger/logger.c
@@
-825,7
+825,7
@@
int service_reader_file(struct reader* reader)
add_recv_timestamp(&entry.header);
if (!log_should_print_line(reader->filter, &entry.header))
-
return 0
;
+
continue
;
logfile_write_with_rotation(&entry.header, &reader->file, DLOGUTIL_SORT_SENT_REAL);
}