This project is read-only.

Configuring Log4Net

Log4Net must be setup to write XML content in XmlLayoutSchemaLog4j layout to log files. This configuration normally should be performed just once and it is quite simple. Just a few lines need to be added to your application config file (or log4net config file) to configure it to use this format.
We suggest you to create separate appender named FileXmlAppender to create log files in XmlLayoutSchemaLog4j layout. Your log4net section should look like this:
    <appender name="FileAppenderXml" type="log4net.Appender.FileAppender">
        <file type="log4net.Util.PatternString" value="sample-log.xml"/>
        <appendToFile value="true"/>        
        <layout type="log4net.Layout.XmlLayoutSchemaLog4j">
            <locationInfo value="true"/>
        <param name="Encoding" value="utf-8" /> 
    <!-- other appenders defined here -->

        <level value="ALL" />
        <appender-ref ref="FileAppenderXml" />
        <!-- other appenders enabled here -->

Overriding GUI language

By default, YALV GUI languade follows your Windows culture automatically. If no appropriate localization was found, then default "en" culture will be used.
If you want to override culture used by YALV, just specify desired culture code in "Culture" setting in YALV.exe.config file ("ja" for example):
  <add key="Culture" value="ja" />
If you want to enable default behavior, then just clear "Culture" setting and leave it empty:
  <add key="Culture" value="" />



Last edited May 19, 2013 at 11:11 AM by dmitriy_konovalov, version 18


No comments yet.