I am aware of how dlog may be used and I want to remove second mechanism mentioned in the wiki site. It provides unnecessary services and is not a desired one. I tried to understand not how can I use dlog but what to use it for in order to change it limiting its functionality and making it more secure J
BR, -- Marcin Niesłuchowski Samsung R&D Institute Poland Samsung Electronics From: Dev [mailto:[email protected]] On Behalf Of VanCutsem, Geoffroy Sent: Wednesday, June 04, 2014 2:18 PM To: [email protected]; [email protected] Subject: Re: [Dev] [dlog] Log to systemd journal There is some info about Logging in this wiki page: https://wiki.tizen.org/wiki/IVI/Enable_Logging Geoffroy From: Dev [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, June 04, 2014 2:15 PM To: [email protected] Subject: Re: [Dev] [dlog] Log to systemd journal 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 Intel Corporation NV/SA Kings Square, Veldkant 31 2550 Kontich RPM (Bruxelles) 0415.497.718. Citibank, Brussels, account 570/1031255/09 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
