logjam_logger 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/logjam_logger/formatter.rb +1 -1
- data/logjam_logger.gemspec +1 -1
- metadata +9 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
module LogjamLogger
|
2
2
|
class Formatter
|
3
3
|
def format(message)
|
4
|
-
"#{Time.now.strftime("%b %d %H:%M:%S")} #{hostname} rails[#{
|
4
|
+
"#{Time.now.strftime("%b %d %H:%M:%S")} #{hostname} rails[#{$$}]#{user_id}: #{message.gsub(/\n/, '').lstrip}\n"
|
5
5
|
end
|
6
6
|
|
7
7
|
private
|
data/logjam_logger.gemspec
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 1.1.
|
9
|
+
- 4
|
10
|
+
version: 1.1.4
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- David Anderson
|
@@ -44,23 +45,27 @@ rdoc_options:
|
|
44
45
|
require_paths:
|
45
46
|
- lib
|
46
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
47
49
|
requirements:
|
48
50
|
- - ">="
|
49
51
|
- !ruby/object:Gem::Version
|
52
|
+
hash: 3
|
50
53
|
segments:
|
51
54
|
- 0
|
52
55
|
version: "0"
|
53
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
54
58
|
requirements:
|
55
59
|
- - ">="
|
56
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
57
62
|
segments:
|
58
63
|
- 0
|
59
64
|
version: "0"
|
60
65
|
requirements: []
|
61
66
|
|
62
67
|
rubyforge_project:
|
63
|
-
rubygems_version: 1.
|
68
|
+
rubygems_version: 1.5.2
|
64
69
|
signing_key:
|
65
70
|
specification_version: 3
|
66
71
|
summary: Syslog-compatible rails logger, works well with Logjam
|