<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libubox/ulog.c, branch master</title>
<subtitle>C utility functions for OpenWrt</subtitle>
<id>https://git-03.infra.openwrt.org/project/libubox/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/libubox/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/'/>
<updated>2023-11-28T11:08:42Z</updated>
<entry>
<title>udebug: add ulog support</title>
<updated>2023-11-28T11:08:42Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2023-11-28T07:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=260ad5bd1566ce08753df743292680afa74bd06f'/>
<id>urn:sha1:260ad5bd1566ce08753df743292680afa74bd06f</id>
<content type='text'>
Make ulog able to also log via udebug.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>blobmsg/ulog: fix format string compiler warnings</title>
<updated>2019-12-07T22:47:03Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-12-07T12:34:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=46f8268b4b5b808b4979f1e21c71e4dc6288635d'/>
<id>urn:sha1:46f8268b4b5b808b4979f1e21c71e4dc6288635d</id>
<content type='text'>
Fixes following compiler warnings:

 blobmsg.c:242:39: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
 blobmsg.c:248:23: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
 ulog.c:100:18: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
 ulog.c:112:16: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
 ulog.c:117:20: error: format string is not a string literal [-Werror,-Wformat-nonliteral]

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>libubox: replace strtok with _r version.</title>
<updated>2016-12-24T10:03:29Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2016-12-22T19:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=8fc1c3053e1cdaa341a6009e18eced821f1eda3e'/>
<id>urn:sha1:8fc1c3053e1cdaa341a6009e18eced821f1eda3e</id>
<content type='text'>
_r is re-entrant. Also happens to silence a cppcheck warning.

Signed-off by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>ulog: avoid accidental /dev/kmsg creation</title>
<updated>2015-09-15T05:29:59Z</updated>
<author>
<name>Sergiy Kibrik</name>
</author>
<published>2015-08-18T06:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=136a5196266d03d537f822c4e67d2fde2ed59505'/>
<id>urn:sha1:136a5196266d03d537f822c4e67d2fde2ed59505</id>
<content type='text'>
Race is possible in ulog_kmsg(): if no /dev/kmsg exists
(e.g. while /dev gets re-mounted) regular file created instead.
&gt;From this point system goes without kernel logger:
special character file can't be created anymore, all clients keep
overwriting single message in regular file.

To avoid this we open file in "r+" mode which doesn't create
file if it's not found.

Signed-off-by: Sergiy Kibrik &lt;sakib@meta.ua&gt;
Cc: John Crispin &lt;blogic@openwrt.org&gt;
</content>
</entry>
<entry>
<title>ulog: always use stderr for ulog_stdio().</title>
<updated>2015-06-14T13:45:57Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2015-06-04T13:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=d1c66ef1131d14f0ed197b368d03f71b964e45f8'/>
<id>urn:sha1:d1c66ef1131d14f0ed197b368d03f71b964e45f8</id>
<content type='text'>
stdout is for normal program output.

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>ulog: implement ulog_close()</title>
<updated>2015-02-26T12:35:50Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-02-26T12:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=2a9edb464215d17c61fdaa6fbd97c99f1f130812'/>
<id>urn:sha1:2a9edb464215d17c61fdaa6fbd97c99f1f130812</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
</content>
</entry>
<entry>
<title>ulog: introduce new simple logging api</title>
<updated>2015-02-26T09:43:56Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-02-25T19:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=ca6d5472056ceee4b8ab320167e0ae8155a95985'/>
<id>urn:sha1:ca6d5472056ceee4b8ab320167e0ae8155a95985</id>
<content type='text'>
The ulog api is intended to be used by procd, fstools, ubox etc. to provide
a generic logging api for early boot messages and automatic switching between
syslog / kmsg / stdout depending on the way the process is executed.

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
</content>
</entry>
</feed>
