Skip to content

Commit

Permalink
Fix syslogger errors when messages contain a '%' (fixes mojombo#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Jul 21, 2011
1 parent 1016b7d commit 1ea3938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/god/sys_logger.rb
Expand Up @@ -35,7 +35,7 @@ def self.level=(level)
#
# Returns Nothing
def self.log(level, text)
Syslog.log(SYMBOL_EQUIVALENTS[level], text)
Syslog.log(SYMBOL_EQUIVALENTS[level], '%s', text)
end
end

Expand Down

0 comments on commit 1ea3938

Please sign in to comment.