<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/admin/syslog-ng/files/logread, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2024-11-24T10:10:10Z</updated>
<entry>
<title>syslog-ng: alternative for logread</title>
<updated>2024-11-24T10:10:10Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-03-02T19:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=641ec2b644489c0ac1820ecfac6441242010e26d'/>
<id>urn:sha1:641ec2b644489c0ac1820ecfac6441242010e26d</id>
<content type='text'>
When the syslog-ng installed it records all messages to /var/log/messages.
This makes the default OpenWrt's ubox /sbin/logread useless and return nothing.

The logread script was added to the syslog-ng as a shim.
It's based on `tail /var/log/messages` and repeats basic options that the ubox logread have.
The script is installed instead of the /sbin/logread and this is causes an error.

Instead install it to /usr/libexec/logread.sh and specify as an alternative /sbin/logread.

The ubox logread also needs to be made as alternative in /usr/libexec/logread-ubox.

So we need to give it a separate name.
The most simple and clear would be logread-shell or just logread.sh.

Suggested-by: Andreas Gnau &lt;andreas.gnau@iopsys.eu&gt;
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>syslog-ng: add logread wrapper</title>
<updated>2019-01-28T21:38:15Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2019-01-27T22:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a00c1a3f4ec60c812eb9a77063e6fa2ba01882c1'/>
<id>urn:sha1:a00c1a3f4ec60c812eb9a77063e6fa2ba01882c1</id>
<content type='text'>
Many (LuCI) packages require logread. Otherwise, for example, System Log tab in LuCI is empty

Signed-off-by: Dirk Brenken &lt;dev@brenken.org&gt;
</content>
</entry>
</feed>
