[Dev] Is there a choosen way of logging events from native or system services in Tizen?
r.kubiak at samsung.com
Tue Apr 1 11:02:52 GMT 2014
Does this mean we could remove dlog from the image. Right now it's
running as root (two processes) if we are using systemd to do all the
logging running 2 additional processes as root seems an overkill. Maybe
we could at least try to move dlog to a non-root user.
On 04/01/2014 10:29 AM, ?ukasz Stelmach wrote:
> It was <2014-03-31 pon 16:25>, when Lukasz Wojciechowski wrote:
>> Is there a choosen way of logging events from native or system
>> services in Tizen?
>> I wasn't able to find anything about it on wiki pages or on mailing lists.
>> There are already some used solutions:
>> * configuring systemd to gather logs in journal
> This is the prefered way. The easiest way to log a message is
> printf(SD_NOTICE "Hello world!");
> For more details please read
>> * there is syslog
> No there isn't. It is journald that opens and listens to /dev/log to
> emulate syslog for legacy service.
>> * some services use dlog.
> dlog is definitely deprecated.
> Dev mailing list
> Dev at lists.tizen.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev