Hi Marcin,
On IVI and Common, dlog output is already redirected to systemd journal.
'dlog_to_systemd_journal' OBS config flag is enabled and allows to do that.
You can locally enable it in your /platform/core/system/dlog spec file.
After installing this new dlog packages (libdlog + dlogutil), please
enter 'dlogctl set platformlog 1' and reboot.
Corentin
On 06/04/2014 02:00 PM, Marcin Niesluchowski wrote:
I am trying to change dlog (platform/core/system/dlog) in order to
make it log only to systemd journal and remove some of its unnecessary
functionalities and capabilities.
dlog repository main functionalities are - logging (libdlog which is
used by many packages) and controlling logs flow (dlogutil binary for
controlling where, how, and which logs will be saved). Second
functionality is not used as widely as first one. It is used in
repositories below and dlog services.
-> platform/core/telephony/telephony-daemon
-> platform/core/uifw/dali-adaptor
-> sdk/ide/common-eplugin
-> platform/core/system/sdbd
Is there any logging policy in tizen? I do not see any on tizen wiki.
What is the purpose of dlog? If dlog should be removed then what
possible functionalities should be moved to mentioned repositories?
For now I would like to create a wrapper logging to systemd journal
and at least limit dlogutil options to what it should be used for.
After that remove unnecessary usage of libdlog from repositories.
BR,
--
Marcin Nies?uchowski
Samsung R&D Institute Poland
Samsung Electronics
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev