logjam_agent 0.11.2 → 0.11.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
  SHA1:
3
- metadata.gz: 72a34b22839e58224f3a3fa8fd1630c31fe66167
4
- data.tar.gz: a2549cab27b6cd2c8437b48f9a7f41258440bd97
3
+ metadata.gz: a5c8b8ccdd8f38bcdf53566ff6454222ed871120
4
+ data.tar.gz: 0dee01aef853a6a2ede9c071e0fabaec060153ed
5
5
  SHA512:
6
- metadata.gz: 85b8e013121eca92a8b06227c63be49c111ed3397fbe29c15bc3d14e8553d9ce97b1f7054371d8ecddec81aa6c534bb95c194cf4a62951cf318200011c6112f2
7
- data.tar.gz: 5c007b20a6b1c7318cc167895bd66734f2dc6d1e24b9a6ae6b451d9141577bafc78ed73fe2b3fc18e4a41c7442ebf921c74003316c6107a4d1117408e9387927
6
+ metadata.gz: 336cefc33521593becdb4561512ef164923f377b7e880925acf3d538cde73f82512adbbf19eb2157115fac1d444c6c65961b82794600593fc0d0e5f049c6e399
7
+ data.tar.gz: bbd62aef0cefca7997114b78fa8640d132e67d995013acd43a591c3dde45ddf994d4b42ebeb38b672a8087f3fe26d08b33303b95397ac44efcbcbf28ca4f54f5
@@ -49,7 +49,7 @@ module LogjamAgent
49
49
  def add_line(severity, timestamp, message)
50
50
  return if @bytes_all_lines > @max_bytes_all_lines
51
51
  message = message.strip
52
- if message.size > @max_line_length
52
+ if message.size > @max_line_length && severity < Logger::ERROR
53
53
  message[(@max_line_length-21)..-1] = " ... [LINE TRUNCATED]"
54
54
  end
55
55
  @mutex.synchronize do
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.11.2"
2
+ VERSION = "0.11.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.11.2
4
+ version: 0.11.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: 2014-09-13 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake