Fixes to device -> file logging 38/123938/5
authorMichal Bloch <m.bloch@samsung.com>
Thu, 6 Apr 2017 17:35:44 +0000 (19:35 +0200)
committerRafal Pietruch <r.pietruch@samsung.com>
Thu, 20 Apr 2017 07:03:07 +0000 (09:03 +0200)
commit582c5543930561e5da1f358b843bc792111696aa
treebd667f8b045f08ea1042c44afcbdde9a655cc053
parente6729fa159c0b2c52d5fb2cc7aa3664f9fec78b1
Fixes to device -> file logging

 * extension of max log size with a size of prepended header
   ensuring fitting the buffer with the longest possible log

 * fix read() error handling

 * remove needless epoll

 * clarify the starvation preventing loop counter

 * remove unused log size constants (from kmsg)

Change-Id: Ibeeb9e8a74e180e91c7c4c44ffcf8f50f3fa7cb4
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
include/logcommon.h
src/logger/logger.c