Sha256: ef963b4d18d3a10d88e768932641b670f284eee4f7f881dc6b6c202b31b0fc30

Contents?: true

Size: 1.1 KB

Versions: 139

Compression:

Stored size: 1.1 KB

Contents

<test>
<log4r_config>

  <pre_config>
    <custom_levels>Foo, Bar,Baz, Bing</custom_levels>
    <global level="Foo"/>
    <parameters>
      <mypattern>[%l] %d %t - %m</mypattern>
    </parameters>
    <parameter name="datem" value="usec"/>
  </pre_config>

  <!-- level and formatter are optional, -->
  <outputter name="SO" type="StdoutOutputter">
    <level>Foo</level>
    <formatter type="Log4r::PatternFormatter">
      <pattern>%d %c %l&gt; %m</pattern>
      <date_method>#{datem}</date_method>
    </formatter>
  </outputter>
  <outputter name="SE" type="StderrOutputter" level="Baz">
    <formatter type="PatternFormatter" pattern="#{mypattern}">
      <date_pattern>%H:%S</date_pattern>
    </formatter>
  </outputter>
  <outputter name="F" type="FileOutputter">
    <filename>#{logpath}/junk/foo.log</filename>
    <trunc>true</trunc>
    <only_at>Foo, Bar, Bing</only_at>
  </outputter>
  <!-- optional level, additive and outputters -->
  <logger name="first::second" level="Bar" additive="false">
    <trace>true</trace>
    <outputters>SO, SE, F, stdout, stderr</outputters>
  </logger>
</log4r_config>
</test>

Version data entries

139 entries across 101 versions & 18 rubygems

Version Path
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/log4r-1.1.10/tests/testconf.xml
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/log4r-1.1.10/tests/testconf.xml