Current view: XpoLog V7 (Latest). Available: XpoLog V6 and XpoLog V5

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


  1. Add Log Data In XpoLog, When adding a log to XpoLog you can now select the Log Type (logtype) for Apache log4net with the following logtype:
    1. log4net
  2. Once all required information is set click next and edit the log pattern, this step is crucial to the accuracy and deployment of the App. Use the following conversion table to build the XpoLog pattern out of the log4net log format.



In the Apache Log4Net configuration file, can be either properties files, XML file, or in some case the log format was created pro-grammatically for which you can manually create the pattern for the data.


<appender name="A1" type="log4net.Appender.ConsoleAppender">
        <!-- A1 uses PatternLayout -->
        <layout type="log4net.Layout.PatternLayout">
                   <conversionPattern value="%timestamp [%thread] %-5level %logger %ndc - %message%newline" />

The following sequence is the log structure definition for the log4net log %timestamp [%thread] %-5level %logger %ndc - %message%newline

In XpoLog such pattern will be translated into:

for more information see below:

{date:Date,locale=en,yyyy-MM-dd HH:mm:ss,SSS} [{text:Thread,ftype=thread}] [{priority:Priority,ftype=severity;,DEBUG;INFO;WARNING;ERROR;FATAL}] {string:Logger,ftype=logger} {string:NDC,ftype=ndc} - {string:Message,ftype=message}

Apache Log4Net Conversion Table

logtyep should be set to: log4net

Name and Appears withDescriptionXpoLog Patternftype



  • No labels