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/)

01 June 2012

Windows 7 Bug Re-enabling Recording devices

I have just figured out how to re-enable a disabled recording device on my Lenovo W520 with Conexant 20672 SmartAudio HD.

I was expecting to find the disabled device in the Device manager or as an greyed out option on the recording devices but it was just gone and all options on the Recording device pane were disabled.  

The trick was to use a wizard in Windows 7 found when writing recording in the Start area, 





This wizard was able to find the disabled internal microphone and enable it.

The problem seems to be a bug in Windows 7.
You can only show the disabled devices if you actually have at least one enabled...


So watch out when disabling recording devices in Windows 7.