logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moshe Matitya" <Moshe.Mati...@Kayote.com>
Subject Logging before main() crashes in 0.9.7
Date Sat, 22 Apr 2006 21:43:51 GMT
I am using log4cxx 0.9.7 on Windows with MSVC 6.0 SP6.  I have found that attempting to log
anything before main() is executed (e.g., in a function called from the initializer of a global
static variable) will always result in a crash.  This is apparently happening because of some
log4cxx static data which has not yet been initialized.  Has this problem been fixed in 0.9.8?
Moshe Z. Matitya

View raw message