Hi,

On Thu, Apr 27, 2017 at 04:33:31PM -0700, Henry Chang wrote:
> Hi,
> 
> I would like to integrate logd with a cloud logging service.
> The service only accepts certain format of log, so I decided to make logread 
> support an output template.

Can't this service use standard syslog messages?

E.g. by using something like:

  config system
      option log_remote '1'
      option log_ip '42.42.42.42'

> Here's the usage:
> 
> logread -T "%priority% %source% %message% %timestamp%"
> 
> Currently supports 4 keywords: priority, source, message, timestamp.
> The keywords should be surrounded by percent signs as showed above.
> 
> Regards,
> 
> Henry Chang
> 
> Henry Chang (1):
>   logread: Add support for output template
> 
>  log/logread.c | 153 
> ++++++++++++++++++++++++++++++++++++++++++++++++----------
>  1 file changed, 127 insertions(+), 26 deletions(-)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to