From: Aaron I. <ai...@ya...> - 2002-05-28 22:33:58
|
I haven't seen this problem before, but try downloading the latest cvs source from sourceforge to see if that solves your problem. Also, try building and running one of the testXXX programs that come with the source code. Do they work? What happens if you lengthen one of the output strings as you mention below? Let me know how it goes. -Aaron aingram at users.sourceforge.net --- David R Robison <drr...@op...> wrote: > I'm trying to display a long string (~150bytes) using log4cpp V0.3.1. > The code is > > Cat.debug("CMD: %s (%d)", cmd, strlen(cmd)); > > If I shorten the string cmd to 10 characters, then it prints > correctly. > If, however, the string is long, then only the DEBUG tag prints. Is > there some maximum to the length of a string with the %s flag? Is > there > a way around this? > > > Any help would be appreciated. > > Ps. I'm using BCB4 on NT4 > > David R Robison > Open Roads Consulting, Inc. > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |