codesake-commons 0.83.0 → 0.83.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,8 +82,8 @@ module Codesake
82
82
  def send_to_syslog(msg, level)
83
83
  return false unless @syslog
84
84
 
85
- # log = Syslog.open("codesake") unless Syslog.opened?
86
- # log = Syslog.reopen("codesake") if Syslog.opened?
85
+ log = Syslog.open("codesake") unless Syslog.opened?
86
+ log = Syslog.reopen("codesake") if Syslog.opened?
87
87
  Syslog.log(Syslog::LOG_DEBUG, msg.to_s) if level == :debug
88
88
  Syslog.log(Syslog::LOG_WARNING, msg.to_s) if level == :warn
89
89
  Syslog.log(Syslog::LOG_INFO, msg.to_s) if level == :helo
@@ -1,5 +1,5 @@
1
1
  module Codesake
2
2
  module Commons
3
- VERSION = "0.83.0"
3
+ VERSION = "0.83.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codesake-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.83.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: