Sha256: a59c148ced939ea56ffbcddc93ae1432619f78ba5be0dcf4a0850041abe65e56

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

<?xml version="1.0" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <!-- configuration contributed by David Maly -->
    
    <targets>
        <target name="database" xsi:type="Database" keepConnection="false" useTransactions="true"
                dbProvider="System.Data.OracleClient.OracleConnection,System.Data.OracleClient, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                connectionString="Data Source=MYORACLEDB;User Id=DBO;Password=MYPASSWORD;Integrated Security=no;"
                commandText="insert into LOGTABLE( TIME_STAMP,LOGLEVEL,LOGGER,CALLSITE,MESSAGE) values( :TIME_STAMP,:LOGLEVEL,:LOGGER,:CALLSITE,:MESSAGE)">
            <parameter name="TIME_STAMP" layout="${longdate}" />
            <parameter name="LOGLEVEL" layout="${level:uppercase=true}" />
            <parameter name="LOGGER" layout="${logger}" />
            <parameter name="CALLSITE" layout="${callsite:filename=true}" />
            <parameter name="MESSAGE" layout="${message}" />
        </target>
    </targets>

    <rules>
        <logger name="*" minlevel="Debug" writeTo="database" />
    </rules>
</nlog>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nlog-1.0.0.505.20100822 docs/examples/targets/Configuration File/Database/Oracle.Native/NLog.config
nlog-1.0.0.505 docs/examples/targets/Configuration File/Database/Oracle.Native/NLog.config
nlog-1.0.0.505-mswin32 docs/examples/targets/Configuration File/Database/Oracle.Native/NLog.config