[Xorp-cvs] XORP cvs commit: xorp xorp/cli xorp/libxorp xorp/rtrmgr

Atanu Ghosh atanu at ICSI.Berkeley.EDU
Thu Jun 19 08:59:13 PDT 2008


Pavlin Radoslavov <pavlin at ICSI.Berkeley.EDU> wrote:

> Atanu Ghosh <atanu at ICSI.Berkeley.EDU> wrote:
> 
> > Hi,
> > 
> > With this change the router manager can now be configured to use syslog,
> > what about the XORP processes that the router manager starts? Each XORP
> > process individually initialises the logging facility. In the current
> > scheme any output generated by a child process will not be subject to
> > syslog. We need a mechanism to tell all the child processes to use
> > syslog if the router manager has been configured to use syslog.
> > 
> > 	Atanu.
> 
> I believe the stdout/stderr XLOG output for each child process is
> intercepted by the parent rtrmgr process and then printed by the
> rtrmgr itself. Hence the output from the child processes will end up
> in syslog (via the rtrmgr), but obviously this needs to be verified
> in practice.
> 
> Pavlin

In which case isn't the type (INFO,FATAL...) information lost?

   Atanu.

> > Bruce Simpson <bms at icir.org> wrote:
> > 
> > > CVSROOT:	/usr/local/www/data/cvs
> > > Module name:	xorp
> > > Changes by:	bms at chum.icir.org	2008-06-19 09:56:07 UTC
> > > 
> > > XORP CVS repository
> > > 
> > > 
> > > Modified files:
> > > 	.             config.h.in configure configure.in 
> > > 	cli           cli_node.cc cli_node.hh 
> > > 	libxorp       xlog.c xlog.h 
> > > 	rtrmgr        main_rtrmgr.cc 
> > > 
> > > Log message:
> > > 	Check in a syslog based logging facility (briefly tested, may need
> > > 	further refinement).
> > > 	This doesn't use what's in the bugzilla ID, it is from scratch.
> > > 	Regen bootstrap.
> > > 	
> > > 	Bugzilla URL:   http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=119
> > > 
> > > Revision  Changes                                Path
> > > 1.41      +3 -2;  commitid: ee97485a2c7141a7;    xorp/cli/cli_node.cc
> > > 1.33      +3 -2;  commitid: ee97485a2c7141a7;    xorp/cli/cli_node.hh
> > > 1.97      +6 -0;  commitid: ee97485a2c7141a7;    xorp/config.h.in
> > > 1.283     +241 -0;  commitid: ee97485a2c7141a7;  xorp/configure
> > > 1.219     +10 -2;  commitid: ee97485a2c7141a7;   xorp/configure.in
> > > 1.25      +164 -4;  commitid: ee97485a2c7141a7;  xorp/libxorp/xlog.c
> > > 1.18      +12 -2;  commitid: ee97485a2c7141a7;   xorp/libxorp/xlog.h
> > > 1.76      +27 -5;  commitid: ee97485a2c7141a7;   xorp/rtrmgr/main_rtrmgr.cc
> > > 
> > > _______________________________________________
> > > Xorp-cvs mailing list
> > > Xorp-cvs at icir.org
> > > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs
> > 
> > _______________________________________________
> > Xorp-cvs mailing list
> > Xorp-cvs at icir.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs



More information about the Xorp-cvs mailing list