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
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/log4r-1.1.10/examples/moderate.xml
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/examples/moderate.xml
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/examples/moderate.xml
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/examples/moderate.xml
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/examples/moderate.xml
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/examples/moderate.xml
vagrant-cloudstack-1.2.0 vendor/bundle/gems/log4r-1.1.10/examples/moderate.xml
vagrant-cloudstack-1.1.0 vendor/bundle/gems/log4r-1.1.10/examples/moderate.xml
sml-log4r-1.0.6 examples/moderate.xml
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/log4r-1.1.10/examples/moderate.xml
depengine-0.0.31 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.31 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.30 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.30 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.29 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.29 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.28 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.28 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.27 etc/isolate/ruby-1.8/gems/log4r-1.1.8/examples/moderate.xml
depengine-0.0.27 etc/isolate/jruby-1.8/gems/log4r-1.1.8/examples/moderate.xml