Re: redirecting trace/logger output from Naming Service

David Weir <[email protected]> Thu, 29 Sep 2005 17:44:19 -0230
Newsgroups gmane.comp.corba.orbacus
Organization Object Oriented Concepts, Inc. - An IONA Company
Message-ID <[email protected]>
Hello Chul,

On Wed, Sep 28, 2005 at 02:46:26PM -0400, Chul Gwon wrote:
> 
> Hi -
> 
> I'm trying to figure out if there is an option that I can give that will 
> allow me to redirect the output from setting the "ooc.naming.trace_level". 
> I'm putting the nameserv under IMR control, so I do not want to have to 
> rely on the UNIX ">&" redirection for messages sent to standard output.

There is no Orbacus opion that will allow you to do this. You could
modify the command the IMR uses to launch the 'nameserv' to redirect the
output to afile, if you don't want to send it to standard output. Or do
you not want to redirect the output at all?

> I was also wondering whether it's possible to obtain the messages that the 
> nameserv sends out from within my client/server code (when my code makes 
> calls to the nameserv).

If you mean the trace messages, no, this cannot be done
programmatically. You would have to monitor the trace logs, but it
should be clear from these when particluar client or server events 
occur.
 
> Thanks in advance,
> 
> -chul

Cheers,
Dave

-- 
David Weir                          
Team Orbacus - Your CORBA Source
E-Mail: [email protected]
WWW: http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html