logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: 2 issues found with 0.10.0-RC2
Date Sat, 08 Mar 2008 18:03:54 GMT

On Mar 6, 2008, at 4:27 PM, Dale King wrote:

> I built using visual studio and ran into a couple of problems to  
> report.
>
> OdbcAppender  has unicode issues. There are 3 calls to SQL
> (SQLExecDirect, SQLDiagRec, and SQLDriverConnect) where the paramters
> are based on SQLCHAR. This doesn't work when building for Unicode as
> these functions really call the wide character version. Thes calls
> should have an A appended to the name to call the non unicode version.
> In reality this file should probably be made to work either way.
>
> I used a properties file and configured a ConsoleAppender but did not
> set the layout for it. Instead of nicely handling it, it crashed the
> application. Probably should fail more gracefully.
>
> -- 
> Dale King

Filed these as LOGCXX-248 and 249.  Will have to dig into the  
ODBCAppender since that is also supported on Linux (using iODBC or  
unixODBC) and just appending an "A" for the char-based API won't cover  
that case.  How did it fail, at compile time or run time?

Mime
View raw message