[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: RE: [PATCH 3/3] zcip: add an option to force logging to syslog even if running -f
From: "Stam, Michel [FINT]" <M.Stam () fugro ! nl>
Date: 2014-11-04 11:00:18
Message-ID: C89EFD3CD56F64468D3D206D683A8D2203985FCE () ldam-msx2 ! fugro-nl ! local
[Download RAW message or body]
I will re-post this patch after a discussion with Denys off-list.
Kind regards,
Michel Stam
From: busybox [mailto:busybox-bounces@busybox.net] On Behalf Of Xabier Oneca -- \
xOneca
Sent: Friday, October 31, 2014 21:20 PM
To: Isaac Dunham; busybox@busybox.net
Subject: Re: [PATCH 3/3] zcip: add an option to force logging to syslog even if \
running -f
El 30/10/2014 16:30, "Isaac Dunham" <ibid.ag@gmail.com> escribió:
>
> On Thu, Oct 30, 2014 at 04:15:13PM +0100, Stam, Michel [FINT] wrote:
> > Hello Denys,
> >
> > I'm not sure what you mean with every daemon?
> >
> > In this particular case, I did not see much from zcip, as it was being executed \
> > from OpenWRT procd. This init program expects programs to run in the foreground, \
> > and when they exit, it automatically restarts them. Sortof a watchdog, if you \
> > will.
> > Unfortunately, if zcip runs in the foreground, it will not log anything to syslog \
> > anymore, instead sending everything to stderr. This patch allows to change that \
> > behaviour.
>
> Is there a reason that this sort of command line wouldn't work:
>
> zcip -f -r $RANGE 2>&1 |logger -t zcip
>
> ?
> >
> > Best regards,
> >
> > Michel Stam
> > Embedded System Engineer
I was thinking in the same approach! 'logger' should do the trick. For this and other \
daemons. If this patch is to be approved, as Denys said, other daemons should mirror \
the same behaviour... Cheers,
Xabier Oneca_,,_
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic