13 June 2012

Sitecore logviewing made easy with log2console

Source: HackTheDot: Sitecore logviewing made easy with log2console

If you are using log4net you can easily log to an application by adding a UdpAppender and using Log2Console.




Configuration for log4net:
<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
    <remoteAddress value="localhost" />
    <remotePort value="7071" />
    <layout type="log4net.Layout.XmlLayoutSchemaLog4j" />
</appender>


The old school fashion is a tool that can read files that are actively written to, like baretail (https://www.baremetalsoft.com/baretail/)

No comments: