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="" />
        <appendToFile value="true" />
        <rollingStyle value="Size" />
        <maxSizeRollBackups value="10" />
        <maximumFileSize value="10MB" />
        <staticLogFileName value="true" />
        <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%-5p %d %5rms %-25.25c{1} %-35.35M - %m%n" />
        </layout>
    </appender>
    <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
        <logName value="BizDataX" />
        <applicationName value="BizDataX Designer" />
        <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%level [%thread] %logger %method %newline%message" />
        </layout>
    </appender>
    <root>
        <level value="ALL" />
        <appender-ref ref="RollingLogFileAppender" />
        <appender-ref ref="EventLogAppender" />
    </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.