Try our conversational search powered by Generative AI!

Logging- how to log info without logging EPIserver logs

Vote:
 

Hi,

I need to save logs for my application, but if I put the log level below ERROR I will get a lot of EpiServer logs. On the other hand, I need my logs to have different levels, since I want to do some debugging later.

What shall I do?

Thanks in advance,

Ashkan

#142439
Dec 10, 2015 17:14
Vote:
 

Hi everyone,

I have found the solution on the log4net website.

You can create another logger for the assembly-namespace. Therefore you can set another logger to put only log of your classess.

#142543
Dec 14, 2015 12:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.