Compression buffer size spec: bytes -> kilobytes 46/283946/1
authorMichal Bloch <m.bloch@samsung.com>
Fri, 4 Nov 2022 19:21:17 +0000 (20:21 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Fri, 4 Nov 2022 22:25:31 +0000 (23:25 +0100)
commit229739aeb00322533f37d822b746761f8014ce5f
tree7d13d513fada2a5739a89f98097d32618798edad
parentb0a35e3dc8f0e140f4019714f7ae953a46a45e25
Compression buffer size spec: bytes -> kilobytes

As in, `dlog_logger_conf_foo=dlogutil -r 123 -b main -m bar` now
creates a buffer for 123 KB whereas previously it was 123 bytes.

Fixes an inconsistency where for files (-f) this already meant
kilobytes, and makes the default sensible (1 KB -> 1 MB).

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