cloudwatchlogger 0.1.0 → 0.1.1

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: 0938bf9df510f455dee57614bedada1436b18be4
4
- data.tar.gz: 68914c8ee7364ebfbbf9efbb64ef1c156f5d0b8c
3
+ metadata.gz: a17994bb84e5d5609af00c3070dd2bced4ee62e6
4
+ data.tar.gz: 8efdb64ae010cdf433cc989e5148db191626d9fa
5
5
  SHA512:
6
- metadata.gz: b4b5535c0195a478633513eb4fdb17d0855063e32ab54882674b2cf4617acde5b0b8fd290fddce35994e37801889f7a575f56e12b04f4859b98e932c1390b3c9
7
- data.tar.gz: cb1c4a3124dbf2f9b1bee5443feee6a8dcf78ef14a6e10a3e968e6d4d1c9f815b3bf38644b190f00fa081d66fc2366947c730ab44e62e565e0837fd593bed6be
6
+ metadata.gz: 082cb521281d5086725d7fa8f9a013916651c0d765a70879ca2cc8c8aaaf2289ec916cc9421ff3c554d839b4c6e2d069f9397093ae588cf2cbef395efabb108a
7
+ data.tar.gz: 48c14c6ee5a121d5456904c5b9c9530597de71c63b17091c5501d1c212634947b818c81d1f376d16fdd5cc077bfd1ebee027bce34ccc05abf854907262bea738
@@ -1,5 +1,6 @@
1
1
  require 'multi_json'
2
2
  require 'socket'
3
+ require 'thread'
3
4
  require 'uuid'
4
5
 
5
6
  module CloudWatchLogger
@@ -52,7 +53,7 @@ module CloudWatchLogger
52
53
  def massage_message(incoming_message, severity, processid)
53
54
  outgoing_message = ""
54
55
 
55
- outgoing_message << "pid=#{processid}, severity=#{severity}, "
56
+ outgoing_message << "pid=#{processid}, thread=#{Thread.current.object_id}, severity=#{severity}, "
56
57
 
57
58
  case incoming_message
58
59
  when Hash
@@ -1,5 +1,5 @@
1
1
  module CloudWatchLogger
2
2
 
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatchlogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zane Shannon