summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/byteback/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/byteback/log.rb b/lib/byteback/log.rb
index 66b86ef..247d562 100644
--- a/lib/byteback/log.rb
+++ b/lib/byteback/log.rb
@@ -9,7 +9,7 @@ module Byteback
class << self
def debug(*a); Syslog.log(Syslog::LOG_DEBUG, *a); end
def info(*a); Syslog.log(Syslog::LOG_INFO, *a); end
- def warn(*a); Syslog.log(Syslog::LOG_WARN, *a); end
+ def warn(*a); Syslog.log(Syslog::LOG_WARNING, *a); end
def error(*a); Syslog.log(Syslog::LOG_ERR, *a); end
def fatal(*a); Syslog.log(Syslog::LOG_EMERG, *a); end
end