logs-cf-plugin 0.0.43.pre → 0.0.44.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,11 @@
1
1
  require "cf/cli"
2
+ require "loggregator_messages/log_message_extender"
2
3
 
3
4
  module MessageWriter
4
5
  include CF::Interactive
5
6
 
6
7
  def write(app, output, message)
7
- msg = [format_time(message.time), app.name, message.source_type_name, message.source_id, message.message_type_name, message.message].join(" ")
8
+ msg = [format_time(message.time), app.name, message.source_name(message.source_id), message.message_type_name, message.message].join(" ")
8
9
  msg = c(msg.chomp, :error) if message.message_type == LogMessage::MessageType::ERR
9
10
  output.puts(msg)
10
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logs-cf-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43.pre
4
+ version: 0.0.44.pre
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-13 00:00:00.000000000 Z
12
+ date: 2013-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cf
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 0.0.5.pre
69
+ version: 0.1.0.pre
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 0.0.5.pre
77
+ version: 0.1.0.pre
78
78
  description: CF command line tool to retrieve recent and tail CF Application Logs
79
79
  email:
80
80
  - vcap-dev@googlegroups.com