<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -57,7 +57,7 @@ spec = Gem::Specification.new do |s|
   }
   s.requirements &lt;&lt; project[:requirements]
   s.required_ruby_version = project[:ruby_version_required]
-  s.files = (project[:rdoc_files] + %w[Rakefile README LICENSE AUTHORS] + Dir[&quot;{spec,lib,example,support,clients}/**/*&quot;]).uniq
+  s.files = (project[:rdoc_files] + %w[Rakefile README LICENSE AUTHORS] + Dir[&quot;{spec,lib,example,support}/**/*&quot;]).uniq
 end
 
 Rake::GemPackageTask.new(spec) do |p|</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 require 'log4r'
+include Log4r
 module Halcyon
   module Logging
     class Log4r &lt; Log4r::Logger
@@ -6,9 +7,14 @@ module Halcyon
       class &lt;&lt; self
         
         def setup(config)
-          raise NotImplementedError
           logger = self.new(config[:label] || Halcyon.app)
-          logger.outputters = Log4r::Outputter.stdout # TODO: Expand this
+          if config[:file]
+            logger.outputters = Log4r::FileOutputter.new(:filename =&gt; config[:file])
+          else
+            logger.outputters = Log4r::Outputter.stdout
+          end
+          logger.level = Object.const_get((config[:level] || 'debug').upcase.to_sym)
+          logger.outputters[0].formatter = Log4r::PatternFormatter.new(:pattern =&gt; &quot;%5l [%d] (#{$$}) #{Halcyon.app} :: %m\n&quot;, :date_pattern =&gt; &quot;%Y-%m-%d %H:%M:%S&quot;)
           logger
         end
         </diff>
      <filename>lib/halcyon/logging/log4r.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,14 @@
 require 'logging'
 module Halcyon
   module Logging
-    class Logging &lt; Log4r::Logger
+    class Logging &lt; Logging::Logger
       
       class &lt;&lt; self
         
         def setup(config)
-          raise NotImplementedError
-          # TODO: Needs to be expanded to set up the correct params; these will cause errors
-          logger = config[:logger] || self.logger(config[:file] || STDOUT)
-          logger.formatter = proc{|s,t,p,m|&quot;%5s [%s] (%s) %s :: %s\n&quot; % [s, t.strftime(&quot;%Y-%m-%d %H:%M:%S&quot;), $$, p, m]}
+          logger = config[:logger] || ::Logging.logger(config[:file] || STDOUT)
           logger.level = config[:level].downcase.to_sym
+          logger.instance_variable_get(&quot;@appenders&quot;)[0].instance_variable_set(&quot;@layout&quot;, ::Logging::Layouts::Pattern.new(:pattern =&gt; &quot;%5l [%d] (%p) #{Halcyon.app} :: %m\n&quot;, :date_pattern =&gt; &quot;%Y-%m-%d %H:%M:%S&quot;))
           logger
         end
         </diff>
      <filename>lib/halcyon/logging/logging.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3b89d6794cdc1256081b079afc364254b4487fd2</id>
    </parent>
  </parents>
  <author>
    <name>Matt Todd</name>
    <email>chiology@gmail.com</email>
  </author>
  <url>http://github.com/mtodd/halcyon/commit/1ac4e4b19dc3be4b25fcf79df14b1721f5aca72c</url>
  <id>1ac4e4b19dc3be4b25fcf79df14b1721f5aca72c</id>
  <committed-date>2008-04-04T15:05:26-07:00</committed-date>
  <authored-date>2008-04-04T15:05:26-07:00</authored-date>
  <message>Finished implementing the Log4r and Logging loggers.</message>
  <tree>4b215300b258beb03170c64e80a8a27bbd39ef34</tree>
  <committer>
    <name>Matt Todd</name>
    <email>chiology@gmail.com</email>
  </committer>
</commit>
