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: Logger::getLogger(__FILE__) fails in release builds
Date Tue, 19 Jun 2007 06:32:00 GMT

On Jun 13, 2007, at 8:07 PM, jorrit de vries wrote:

> Hello,
>
> After a long search for why my application hang in Release builds  
> when using code like:
>
> LoggerPtr logger(Logger::getLogger(__FILE__))
>
> I would like to know why this is. Could anybody explain this to me?
>
>
> Best regards,
> Jorrit
>
p.s.: Using __FILE__ as a logger name would make your logger names  
dependent on the developer's choice of compilers and/or root  
directories.  Many compilers provide the full path for __FILE__ (but  
not apparently VC8 unless you set a compatibility option).
Mime
View raw message