dns_one 0.4.46 → 0.4.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dns_one/log.rb +1 -7
- data/lib/dns_one/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e3910aa0b2cc959315beef742853c585f007d17
|
4
|
+
data.tar.gz: 127e6644560bc344e42c50835f1b20da7a72b3ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf3351c3d9c51b0982b1413478ff895b915df94e242bf5de5dd640dd300f1918dd334456147852ed2c7401c0769932e3f58e1752a2ca36de53516733dc498e8
|
7
|
+
data.tar.gz: 358692c6cafd95b10dc5e2c961013d6eefe408666eb471f095601d7dae84ff9dac49c9500fa835c6802c7ce9b0f495e2281f3c3453b42ba199ae6d3cdd257908
|
data/lib/dns_one/log.rb
CHANGED
@@ -60,15 +60,9 @@ class Log < Logger
|
|
60
60
|
|
61
61
|
@logger.send met_name, msg
|
62
62
|
|
63
|
-
if severity
|
63
|
+
if severity >= SYSLOG_MIN_SEVERITY
|
64
64
|
@syslog.send met_name, msg
|
65
65
|
end
|
66
|
-
|
67
|
-
if severity == Logger::FATAL and
|
68
|
-
@log_file != STDOUT and
|
69
|
-
@log_file != STDERR
|
70
|
-
STDERR.puts msg
|
71
|
-
end
|
72
66
|
end
|
73
67
|
end
|
74
68
|
end
|
data/lib/dns_one/version.rb
CHANGED