Sha256: 6760b966ae53a3e8283703540a13536794cbbdb03cafae590c825df25eaeeda0

Contents?: true

Size: 995 Bytes

Versions: 138

Compression:

Stored size: 995 Bytes

Contents

<!-- the config file used by xmlconfig.rb -->
<log4r_config>
  <pre_config>
    <global level="DEBUG"/>
    <!-- we'll set serverlog in XML and logpath at runtime for illustration -->
    <parameter name="serverlog" value="./logs/server.log"/>
  </pre_config>

  <!-- outputters, illustrating XML config flexibility -->
  <outputter type="FileOutputter" name="server">
    <filename>#{serverlog}</filename>
    <trunc>false</trunc>
  </outputter>
  <outputter type="FileOutputter" name="client" 
             filename="#{logpath}/client.log"/>
  <outputter type="FileOutputter" name="gui" 
             filename="#{logpath}/guidebug.log"/>
  <outputter type="StderrOutputter" name="console" level="ERROR"/>

  <!-- loggers -->

  <logger name="server" level="ERROR" outputters="server, console"/>
  <logger name="client" level="INFO"  outputters="client, console"/>
  <logger name="client::gui" trace="true">
    <level>DEBUG</level>
    <outputter>gui</outputter>
  </logger>

</log4r_config> 

Version data entries

138 entries across 100 versions & 17 rubygems

Version Path
depengine-0.0.11 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.10 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.10 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
vagrant-actionio-0.0.9 vendor/bundle/gems/log4r-1.1.10/examples/moderate.xml
depengine-0.0.9 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.9 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.8 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.8 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.7 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.7 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.5 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.5 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.4 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.4 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.3 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.3 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.2 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.2 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.1 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.1 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml