log4net implimentation in a DLL ..???

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
 
M

Michael Nemtsev

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
 
H

Hans Kesting

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top