trinidad_logging_extension 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,15 @@
|
|
1
1
|
module Trinidad
|
2
2
|
module Extensions
|
3
3
|
module Logging
|
4
|
-
VERSION = '0.
|
4
|
+
VERSION = '0.2.0'
|
5
5
|
end
|
6
6
|
|
7
7
|
__DIR__ = File.dirname(__FILE__)
|
8
8
|
require File.expand_path('../trinidad-libs/juli-adapters', __DIR__)
|
9
9
|
require File.expand_path('../trinidad-libs/log4j-1.2.16', __DIR__)
|
10
10
|
|
11
|
-
class
|
12
|
-
def configure(tomcat
|
11
|
+
class LoggingServerExtension < ServerExtension
|
12
|
+
def configure(tomcat)
|
13
13
|
@options[:config] ||= 'config/trinidad-logging.properties'
|
14
14
|
java.lang.System.set_property('log4j.configuration',
|
15
15
|
java.io.File.new(File.expand_path(@options[:config])).to_url.to_s)
|
Binary file
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'trinidad_logging_extension'
|
16
|
-
s.version = '0.
|
17
|
-
s.date = '2010-07-
|
16
|
+
s.version = '0.2.0'
|
17
|
+
s.date = '2010-07-31'
|
18
18
|
s.rubyforge_project = 'trinidad_logging_extension'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trinidad_logging_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Calavera
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-07-
|
12
|
+
date: 2010-07-31 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|