logjam_logger 1.1.1 → 1.1.3
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 +11 -4
@@ -11,7 +11,7 @@ module LogjamLogger
|
|
11
11
|
#
|
12
12
|
# before_filter { |controller| ($user_ids ||= {})[Thread.current] = controller.session[:user_id] || 0 }
|
13
13
|
def user_id
|
14
|
-
defined?($user_ids) ? " user[#{$user_ids[Thread.current]}]" : ''
|
14
|
+
defined?($user_ids) ? " user[#{$user_ids[Thread.current] || 0}]" : ''
|
15
15
|
end
|
16
16
|
|
17
17
|
# Note: If you are using FastCGI you may need to hard-code the hostname here instead of using Socket.gethostname
|
data/logjam_logger.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
version: 1.1.3
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- David Anderson
|
@@ -42,18 +47,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
47
|
requirements:
|
43
48
|
- - ">="
|
44
49
|
- !ruby/object:Gem::Version
|
50
|
+
segments:
|
51
|
+
- 0
|
45
52
|
version: "0"
|
46
|
-
version:
|
47
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
54
|
requirements:
|
49
55
|
- - ">="
|
50
56
|
- !ruby/object:Gem::Version
|
57
|
+
segments:
|
58
|
+
- 0
|
51
59
|
version: "0"
|
52
|
-
version:
|
53
60
|
requirements: []
|
54
61
|
|
55
62
|
rubyforge_project:
|
56
|
-
rubygems_version: 1.3.
|
63
|
+
rubygems_version: 1.3.6
|
57
64
|
signing_key:
|
58
65
|
specification_version: 3
|
59
66
|
summary: Syslog-compatible rails logger, works well with Logjam
|