Feature-Request: Syslog-name of Bird6
Good Morning Ondrej & Ondrej, would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird? This would make debugging a little easier, as we run bird and bird6 on the same machine, and it's not too easy to determine which bird is logging what. I guess this would be trivial to accomplish without looking at the sources. Wolfgang -- www.vix.at | www.aco.net wh@univie.ac.at | WH844-RIPE Vienna University Computer Center
On 22.03.2010 08:41 Wolfgang Hennerbichler wrote
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird? This would make debugging a little easier, as we run bird and bird6 on the same machine, and it's not too easy to determine which bird is logging what. I guess this would be trivial to accomplish without looking at the sources.
I do log "/var/log/bird/bird.log" all; in bird.conf and log "/var/log/bird/bird6.log" all; in bird6.conf. Thus I have everything in one file. Imho much neater than using syslog. Of course ymmv Arnold -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone: +49 6224 9259 299 mobile: +49 172 2650958 fax: +49 6224 9259 333
On Mar 22, 2010, at 09:40 , Arnold Nipper wrote:
On 22.03.2010 08:41 Wolfgang Hennerbichler wrote
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird? This would make debugging a little easier, as we run bird and bird6 on the same machine, and it's not too easy to determine which bird is logging what. I guess this would be trivial to accomplish without looking at the sources.
I do
log "/var/log/bird/bird.log" all;
in bird.conf and
log "/var/log/bird/bird6.log" all;
in bird6.conf. Thus I have everything in one file. Imho much neater than using syslog. Of course ymmv
I like syslog, because I'd like to parse all that stuff and provide the logged information to our users (I can attach a pipe to syslog-ng), I'd also like to log it remotely to our centralized syslog-servers. So yes, I do prefer syslog.
Arnold -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone: +49 6224 9259 299 mobile: +49 172 2650958 fax: +49 6224 9259 333
-- www.vix.at | www.aco.net wh@univie.ac.at | WH844-RIPE Vienna University Computer Center
On Mon, Mar 22, 2010 at 08:41:16AM +0100, Wolfgang Hennerbichler wrote:
Good Morning Ondrej & Ondrej,
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird?
Good idea. Definitely. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 22.3.2010 14:07, Ondrej Zajicek wrote:
On Mon, Mar 22, 2010 at 08:41:16AM +0100, Wolfgang Hennerbichler wrote:
Good Morning Ondrej & Ondrej,
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird?
Good idea. Definitely.
We need to do the same for CLI prompt (bird>) or better to make it configurable. Ondrej
On Mon, Mar 22, 2010 at 08:41:16AM +0100, Wolfgang Hennerbichler wrote:
Good Morning Ondrej & Ondrej,
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird?
Good idea. Definitely.
Wouldn't it be better to make the prefix configurable? Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Sic transit gloria Monday!
On 22.3.2010 15:29, Martin Mares wrote:
On Mon, Mar 22, 2010 at 08:41:16AM +0100, Wolfgang Hennerbichler wrote:
Good Morning Ondrej & Ondrej,
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird?
Good idea. Definitely.
Wouldn't it be better to make the prefix configurable?
Have a nice fortnight
Definitely as well as the CLI prompt as I wrote. Ondrej
On Mon, Mar 22, 2010 at 03:33:09PM +0100, Ondrej Filip wrote:
On 22.3.2010 15:29, Martin Mares wrote:
On Mon, Mar 22, 2010 at 08:41:16AM +0100, Wolfgang Hennerbichler wrote:
Good Morning Ondrej & Ondrej,
would it be possible to let bird6 log with the bird6 prefix to syslog instead of bird?
Good idea. Definitely.
Wouldn't it be better to make the prefix configurable?
OK, with default based on arg0. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (5)
-
Arnold Nipper -
Martin Mares -
Ondrej Filip -
Ondrej Zajicek -
Wolfgang Hennerbichler