[ace-users] Support for database logging as backend

Steve Huston shuston at riverace.com
Fri Aug 24 16:22:41 CDT 2007


Good pointers by Doug... Kailas, I recommend you structure this as a
logging backend since that'll be much easier to use in the general
case.

Good luck,
-Steve

--
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
See http://www.riverace.com/sponsor.htm


> -----Original Message-----
> From: ace-users-bounces at cse.wustl.edu 
> [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of Douglas 
> C. Schmidt
> Sent: Friday, August 24, 2007 10:09 AM
> To: kailas.nagarkar at gmail.com; ace-users at cse.wustl.edu
> Subject: Re: [ace-users] Support for database logging as backend
> 
> 
> Hi Kailas,
> 
> > We are enhancing ACE logging to support database as backend.
> 
> Great!  To ensure that we have proper version/platform/compiler
> information, please make sure you fill out the appropriate problem
> report form (PRF), which is in
> 
> $ACE_ROOT/PROBLEM-REPORT-FORM
> $TAO_ROOT/PROBLEM-REPORT-FORM
> 
> or in
> 
> $ACE_ROOT/BUG-REPORT-FORM
> $TAO_ROOT/BUG-REPORT-FORM
> 
> in older versions of ACE+TAO.  Make sure to include this information
> when asking any questions about ACE+TAO since otherwise we have to
> "guess" what version/platform/compiler/options you've using, which
is
> very error-prone and slows down our responsiveness.
> 
> > For this I need more information on separating out fields for each
> > supported option(%t etc).  Currently all options are formatted
into
> > a string.  Can you please let me know how this can be achieved
> > without breaking existing ACE code.
> 
> I'm not sure what you are asking.
> 
> > Also, can you please let me me know on how can callbacks be used
for
> > DB logging as backend?
> 
> I recommend you check out Chapter 3 of APG
> <http://www.riverace.com/acebooks/index.htm#apg> for info on how to
> use callbacks.  There are also examples in
> 
> ACE_ROOT/tests/Log_Msg_Backend_Test.cpp
> ACE_ROOT/tests/Log_Msg_Test.cpp
> ACE_ROOT/examples/Log_Msg/test_callback.cpp
> 
> that might be useful to check out.  
> 
> Thanks,
> 
>         Doug
> 
> -- 
> Dr. Douglas C. Schmidt                       Professor and 
> Associate Chair
> Electrical Engineering and Computer Science  TEL: (615) 343-8197
> Vanderbilt University                        WEB: 
> www.dre.vanderbilt.edu/~schmidt
> Nashville, TN 37203                          NET: 
> d.schmidt at vanderbilt.edu
> 
> _______________________________________________
> ace-users mailing list
> ace-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ace-users
> 




More information about the Ace-users mailing list