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