Re: [OpenWrt-Devel] [PATCH ubox] log: allow filtering messages with a regexp pattern

2015-07-14 Thread John Crispin
On 12/07/2015 15:02, Rafał Miłecki wrote: + -e pattern Filter messages (not hostnames, facilities, etc.)\n i think a log line consiste of the hostname + facility + message. hence listing the bits not included in the message is not needed.

[OpenWrt-Devel] [PATCH ubox] log: allow filtering messages with a regexp pattern

2015-07-12 Thread Rafał Miłecki
This allows printing/streaming/writing messages matching a specified basic regular expression only. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- log/logread.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/log/logread.c b/log/logread.c index