logo       

RE: Odd problem: msg#00036

Subject: RE: Odd problem
Hi,
  Sorry i don't hae solution but, i have initail problem for connecting with 
databse (Postgresql). So can u tell me how to connect with database from 
log4cxx (ODBCAppender).
Please,

Regards 
Prakash


-----Original Message-----
From:   Tim Murison [mailto:tmurison@xxxxxxxxx]
Sent:   Tue 2/15/2005 9:41 AM
To:     log4cxx-user@xxxxxxxxxxxxxxxxxx
Cc:     
Subject:        Odd problem
Hi,

I'm hoping someone might be able to shed some light on this...

I have a function that executes a DB query and returns a vector<string>
of the results. I have just started to add logging to my program, so
just before returning the vector, I issue a logging statement:

LOG4CXX_INFO(logger, "Done read query");

Here the weird bit. If I comment out the logging statement, the vector
elements are something like:
        [1, OBJECT, 2]
With the logging statement the elements are:
        [1, Done read query, 2]

I am using log4cxx 0.9.7. I have tried compiling CVS HEAD, but it fails
with some scary messages (both using autogen and ant).

Any ideas?

Cheers,

-Tim




<<winmail.dat>>

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe