lib/loggability.rb in loggability-0.2.1 vs lib/loggability.rb in loggability-0.2.2

- old
+ new

@@ -7,14 +7,14 @@ # A mixin that provides a top-level logging subsystem based on Logger. module Loggability # Package version constant - VERSION = '0.2.1' + VERSION = '0.2.2' # VCS revision - REVISION = %q$Revision: 3d9dced14889 $ + REVISION = %q$Revision: e41140479376 $ # The key for the global logger (Loggability's own logger) GLOBAL_KEY = :__global__ # The methods that are delegated across all loggers @@ -320,10 +320,10 @@ ### Parse the specified +spec+ into level, def self::parse_config_spec( spec ) match = LOGSPEC_PATTERN.match( spec ) or raise ArgumentError, "Couldn't parse logspec: %p" % [ spec ] - self.log.error " parsed config spec %p -> %p" % [ spec, match ] + self.log.debug " parsed config spec %p -> %p" % [ spec, match ] severity, target, format = match.captures target = case target when 'STDOUT' then $stdout when 'STDERR' then $stderr