Re: [LEDE-DEV] [PATCH ubox] Add template support to logread

2017-04-28 Thread Henry Chang
Hi Philip, This is obsolete, please check v2 instead. http://lists.infradead.org/pipermail/lede-dev/2017-April/007193.html Regards, Henry On Fri, Apr 28, 2017 at 6:02 PM, Philip Prindeville wrote: > >> On Apr 26, 2017, at 11:23 PM, Henry Chang wrote: >> >> Hi, >> >> I would like to integrate

Re: [LEDE-DEV] [PATCH ubox] Add template support to logread

2017-04-28 Thread Philip Prindeville
> On Apr 26, 2017, at 11:23 PM, Henry Chang wrote: > > Hi, > > I would like to integrate logd to the cloud logging service. The > service only accepts special format of syslog, so then I make logread > support template. > > Here's the usage: > > logread -T "<%priority%> %source% %message% %ti

[LEDE-DEV] [PATCH ubox] Add template support to logread

2017-04-26 Thread Henry Chang
Hi, I would like to integrate logd to the cloud logging service. The service only accepts special format of syslog, so then I make logread support template. Here's the usage: logread -T "<%priority%> %source% %message% %timestamp%" Currently supports 4 keywords: priority, source, message, times