logjam_agent 0.34.2 → 0.34.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dfc15309d8eff89747771c28c14be766acdbffce10fa2121e07820b9d628d84
4
- data.tar.gz: 32646c3d1020458de93151ed03f3c48248fe0bef27b404c21d1a87dfad05a82e
3
+ metadata.gz: f440bd17eaed288b652b4537a82ebcedaa6aae2c213e99cfce4c9a78259c8e1a
4
+ data.tar.gz: 4c437031ed233e9b836714742f37e23a6b8b2bcc81155776d8ce31b17040cdd5
5
5
  SHA512:
6
- metadata.gz: fb48957ea64f8da0a16770ff30ff927019c09d604ccec6ea018a9b43da9a67fb63eb656ea61d535e089516a340c5c5e42454f764acc9bdcefcab75b5dfba1f0f
7
- data.tar.gz: 5bddcb2bc40fb7e5eade6dfe290fa9cde23b9b3fb69650f092a54b838ee780726d7a11e985f1e26f708bcbf6671cdb89910c4201fc82dc9ee57592191be3c85a
6
+ metadata.gz: d614ce5608d99b1735766d0d99a0b99d64a78bd75146891036d0063b11728ef8d92b0fcbb3de1bd95acd92999969fb0d4afcc06c9a439e986c279848eb899ee6
7
+ data.tar.gz: 4f63d8cef062c3350e6fbbc26a997300fb5928430bf335a3d3efb959e97fd6ca7e14e13bd1ca15a4d58575485104005416b042b2b4546d6a1c017218b8789efa
@@ -62,7 +62,7 @@ module LogjamAgent
62
62
  time = Time.now
63
63
  if log_to_log_device
64
64
  formatted_message = formatter.call(format_severity(severity), time, progname, message)
65
- @logdev.write(formatted_message)
65
+ @logdev.write(formatted_message) if @logdev
66
66
  end
67
67
  request.add_line(severity, time, message) if request
68
68
  message
@@ -70,7 +70,6 @@ module LogjamAgent
70
70
 
71
71
  def logdev=(log_device)
72
72
  raise "cannot connect logger to new log device" unless log_device.respond_to?(:write)
73
- raise "cannot set log device" unless defined?(@logdev)
74
73
  @logdev = log_device
75
74
  end
76
75
 
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.34.2"
2
+ VERSION = "0.34.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.2
4
+ version: 0.34.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2022-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake