Add file, line & function information to journald log
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 28 Jan 2015 09:19:38 +0000 (10:19 +0100)
committerMaciej J. Karpiuk <m.karpiuk2@samsung.com>
Tue, 17 Feb 2015 11:09:37 +0000 (12:09 +0100)
commitef12755a0563f493acb6e74526d7770ffec39cd9
tree9e0212ab18a985bcf5a340605bee22147f89b561
parent66d9244c4134c4437bfb675d93f5b1627a1a6986
Add file, line & function information to journald log

[Issue#] N/A
[Feature/Bug] N/A
[Problem] File, line & function not visible in default journalctl log
[Cause] Default log format does not display this information and other formats
are unreadable
[Solution] File, line & function information added to log message content

[Verification] Create /etc/sysconfig/central-key-manager with following content
"
CKM_LOG_LEVEL=3
CKM_LOG_PROVIDER=JOURNALD
"

Restart the service and see if journalctl logs contain file, line & function
info:
journalctl -f -u central-key-manager

Change-Id: I01389eda9f7db390f6ca00c8f44e1a5c097e59c8
src/manager/dpl/log/src/journal_log_provider.cpp
src/manager/dpl/log/src/log.cpp