Using log4net in .net petshop 4
I have a question regarding using log4net to log information to a .net petshop 4 application. How can I use it to log information related to message size and time when logging occurs. Please, help! I tried opening .net petshop using visual c # express edition 2008 and visual web developer 2008 but solution items are not available in both cases. Please suggest how to open this app
0
1 answer
Assuming the log4net configuration is done in web.config applications, you should be able to format the log to include log time. According to the PatternLayout transformation patterns, you can use the% specifier for this.
As for the size of the message, are you looking for the length of the message line?
+1
a source to share