Log configuration

Log configuration for the BizDataX Designer is located within the App.config file in the folder BizDataX Designer was installed.

The default configuration will suffice for most needs so it does not need to be changed. The part of this configuration file relevant to logging is the log4net tag and everything contained within it. The default log configuration for BizDataX packages looks like this:

<log4net debug="true">
    <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
        <file value=""></file>
        <appendtofile value="true"></appendtofile>
        <rollingstyle value="Size"></rollingstyle>
        <maxsizerollbackups value="10"></maxsizerollbackups>
        <maximumfilesize value="10MB"></maximumfilesize>
        <staticlogfilename value="true"></staticlogfilename>
        <layout type="log4net.Layout.PatternLayout">
        <conversionpattern value="%-5p %d %5rms %-25.25c{1} %-35.35M - %m%n"></conversionpattern>
        </layout>
    </appender>
    <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
        <logname value="BizDataX"></logname>
        <applicationname value="BizDataX Designer"></applicationname>
        <layout type="log4net.Layout.PatternLayout">
        <conversionpattern value="%level [%thread] %logger %method %newline%message"></conversionpattern>
        </layout>
    </appender>
    <root>
        <level value="ALL"></level>
        <appender-ref ref="RollingLogFileAppender"></appender-ref>
        <appender-ref ref="EventLogAppender"></appender-ref>
    </root>
</log4net>

By default, information is logged in the same file until it reaches 10MB in size when it will create a new log file. Changing this is not recommended unless you're upgrading BizDataX to a new version that uses a different log configuration (this page will always display the most recent log configuration). The log severity level is located in the level tag. It has the value INFO by default, but can safely be changed according to your needs. The name and location of the log file are set in Visual Studio BizDataX options.