logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Burlingame" <drewburling...@gmail.com>
Subject log4net is truncating log messages with %20.20type{1}.%-30.30method in the ConversionPattern
Date Wed, 20 Dec 2006 23:31:58 GMT
we've encountered a problem where log4net is truncating log messages
(samples below).  The truncating only happens when we compile in release and
the ConversionPattern includes %20.20type{1}.%-30.30method.  I'm assuming it
has to do with the code optimizations interfering with log4net.  What can we
do to get the release logging to work correctly?

Thanks,
Drew

environment:
- version 1.2.10.0
- framwork: 2.0
- os: xp and 2003

release:

DEV   |20061220-16:40:01.754|            1| INFO  |20061220-16:40:01.848|
ChnSrvr:7|      CommandLineHost.StartService                   | Starting
channel server in a thread
INFO  |20061220-16:40:14.176|    ChnSrvr:7|
ChannelServer.StartServer
| Channel server is loading backchat cache
DEBUG |20061220-16:40:14.223|    ChnSrvr:7| DEBUG |20061220-16:40:14.223|
ChnSrvr:7| TRACE |20061220-16:40:14.317|    ChnSrvr:7|
ServerNodeManager.set_Domain                     | Domain for
ServerNodeManager set to <example.com>

debug:

DEV   |20061220-16:04:20.219|            1|
TimerService.setNewTimer
| Setting new timerinterval of <15> seconds
INFO  |20061220-16:04:20.297|    ChnSrvr:7|
CommandLineHost.StartService                   | Starting channel server in
a thread
INFO  |20061220-16:04:38.063|    ChnSrvr:7|
ChannelServer.StartServer
| Channel server is loading backchat cache
DEBUG |20061220-16:04:38.094|    ChnSrvr:7|
ParlanoSqlHelper.logSproc
| exec procSearchForNodes 0, '', 0
DEBUG |20061220-16:04:38.094|    ChnSrvr:7|
ParlanoSqlHelper.ExecuteReader                  | loading data with
<<get_RunLoadIdsDelegate>b__0>
TRACE |20061220-16:04:38.172|    ChnSrvr:7|
ServerNodeManager.set_Domain
| Domain for ServerNodeManager set to <example.com>

Mime
View raw message