Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README
ancestors.rb moving src to lib Jun 7, 2010
chainsaw_settings.xml moved everything up one dir Mar 19, 2010
customlevels.rb
filelog.rb
fileroll.rb
gmail.rb gmail examples Jun 8, 2010
gmail.yaml gmail examples Jun 8, 2010
log4r_yaml.yaml ScribeOutputter works with yaml configurator Nov 30, 2011
logclient.rb moving src to lib Jun 7, 2010
logserver.rb moving src to lib Jun 7, 2010
moderate.xml moved everything up one dir Mar 19, 2010
moderateconfig.rb moving src to lib Jun 7, 2010
myformatter.rb moving src to lib Jun 7, 2010
outofthebox.rb
rdoc-gen moved everything up one dir Mar 19, 2010
rrconfig.xml moved everything up one dir Mar 19, 2010
rrsetup.rb moving src to lib Jun 7, 2010
simpleconfig.rb moving src to lib Jun 7, 2010
syslogcustom.rb moving src to lib Jun 7, 2010
xmlconfig.rb moving src to lib Jun 7, 2010
yaml.rb

README

The examples are:

1. outofthebox.rb                 - How to get started with minimal setup
2. simpleconfig.rb                - Using Log4r casually
3. moderateconfig.rb              - A more sophisticated config
4. xmlconfig.rb and moderate.xml  - XML configuration example based on #3
5. rrsetup.rb and rrconfig.xml    - A real example (or used to be ;-)
6. logserver.rb and logclient.rb  - Remote logging example
7. fileroll.rb                    - Using RollingFileOutputter
8. yaml.rb and log4r_yaml.yaml    - YAML configuration example

The output will go to screen and to files in the directory logs/.

Note to RubyGems users: The syntax to require log4r as a gem is as follows:

  require 'rubygems'
  require_gem 'log4r'

Obviously, the examples will need to be modified to follow this.