FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tango loggin

 
Post new topic   Reply to topic     Forum Index -> DDBI
View previous topic :: View next topic  
Author Message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Sun Sep 30, 2007 11:37 am    Post subject: Tango loggin Reply with quote

The changelog says:

Quote:
Tango logging added, for SQL tracing

* If you want to see dbi log output, the easiest way is to just import the Configurator in your program, like so:
o import tango.util.log.Configurator;


But looking at the source it is just using Cout unconditionally. And this way it is always displaying the log... I believe this is a bad behavior for a library. For example it breaks CGI apps by Cout-ing stuff before the CGI headers.
Back to top
View user's profile Send private message
stonecobra



Joined: 25 May 2004
Posts: 48
Location: Rough and Ready, CA

PostPosted: Fri Dec 07, 2007 6:16 pm    Post subject: Reply with quote

Still catching all the logging and converting to tango.util.log
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DDBI All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group