log4net implimentation in a DLL ..???

  • Thread starter Thread starter harish.c27
  • Start date Start date
H

harish.c27

HI All,
Here is my problem:
log4net works fine with my Client (Windows Application .Net 1.1)
but does not log any thing when i use it in my server (Com+ DLLs).
Does any one know why or how to make it work.

Thanks in Advance
Harish
 
Hello harish,

there is no diferences for log4net where to work, so perhaps the problem
in configurating the log4net.
Are u sure that u use the log4net the same way as on the client?
I assume that your com+ dll config (where log4net options are set) is not
seen from your service, thus log4net doesnt work.


---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

hc> HI All,
hc> Here is my problem:
hc> log4net works fine with my Client (Windows Application .Net 1.1)
hc> but does not log any thing when i use it in my server (Com+ DLLs).
hc> Does any one know why or how to make it work.
hc> Thanks in Advance
hc> Harish
 
HI All,
Here is my problem:
log4net works fine with my Client (Windows Application .Net 1.1)
but does not log any thing when i use it in my server (Com+ DLLs).
Does any one know why or how to make it work.
Thanks in Advance
Harish

Under what account does that server-application run, and does it have
"Modify" rights to the directory where you want the logfiles to appear?
(this is a standard error when you use log4net in asp.net)

Hans Kesting
 
Back
Top