Re: [PATCH] examples: Fix syslog LOGSCRIPT

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Wed, 04 Mar 2015 00:21:40 +0100

On 03/03/2015 23:34, Olivier Brunel wrote:
> Log lines are actually prefixed with uids from $IPCREMOTEEUID & $IPCREMOTEEGID,
> so they should be acocunted for in the regexs.

  Ah, thanks. Will apply it.


> Also note the need to use \s because, AFAIK, there's no way to use spaces in the
> regex then, as space is a delimiter for splitting. This is probably important
> enough to be noted alongside in some README in fact, since that's why I've
> personally kept them in the run file.

  Hm. A quick solution would be to only split on \t, \n and \r, and use tabs
instead of spaces in env/LOGSCRIPT. But that's ugly.

-- 
  Laurent
Received on Tue Mar 03 2015 - 23:21:40 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC