Globals in LogSystem adjusted to use in lib constructor 98/35798/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 10 Feb 2015 17:10:30 +0000 (18:10 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Tue, 24 Feb 2015 16:44:07 +0000 (17:44 +0100)
commit484ed341307ec621601fb601751da774c02da9d1
tree5606cb97eb48ebaf24493bfc61d55ba592b79b9b
parent47a8baf57c33cebc10dce841a75d3883a60e9051
Globals in LogSystem adjusted to use in lib constructor

[Issue#] N/A
[Feature/Bug] N/A
[Problem] dlopen() fails with client library
[Cause] The order of global variables construction in common library is unpredictable.
[Solution] Global variable made member. Strings replaced by const char* const.

[Verification] Use ckm_so_loader 2 100 /usr/lib/libkey-manager-client.so ckmc_save_key

Change-Id: I0add0c1fe3c66ac9d42a94b7e59bf21cadecdefc
src/manager/dpl/log/include/dpl/log/log.h
src/manager/dpl/log/src/log.cpp