trinidad_daemon_extension 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/README +7 -0
- data/Rakefile +1 -1
- data/lib/trinidad_daemon_extension.rb +2 -1
- data/trinidad-libs/trinidad-daemon-extension.jar +0 -0
- data/trinidad_daemon_extension.gemspec +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/README
CHANGED
@@ -41,6 +41,13 @@ By default it writes the logs into the file log/trinidad.log with the level INFO
|
|
41
41
|
file: trinidad.log # where the daemon writes its output
|
42
42
|
level: ALL # severity level, it cn be one of these: ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
|
43
43
|
|
44
|
+
This log is enabled by default but if we don't need it or we are using another logger system we can also disable it:
|
45
|
+
|
46
|
+
---
|
47
|
+
extension:
|
48
|
+
daemon:
|
49
|
+
nolog:
|
50
|
+
|
44
51
|
The extension also allows to add new JVM arguments to run the daemon with. They just need to be added into the configuration file:
|
45
52
|
|
46
53
|
---
|
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ require File.expand_path('../../trinidad-libs/trinidad-daemon-extension', __FILE
|
|
9
9
|
module Trinidad
|
10
10
|
module Extensions
|
11
11
|
module Daemon
|
12
|
-
VERSION = '0.2.
|
12
|
+
VERSION = '0.2.3'
|
13
13
|
end
|
14
14
|
|
15
15
|
class DaemonServerExtension < ServerExtension
|
@@ -20,6 +20,7 @@ module Trinidad
|
|
20
20
|
def override_tomcat?; true; end
|
21
21
|
|
22
22
|
def logger_options
|
23
|
+
return if @options.has_key?(:nolog)
|
23
24
|
log = @options[:log] || {}
|
24
25
|
log[:file] ||= 'log/trinidad.log'
|
25
26
|
|
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_daemon_extension'
|
16
|
-
s.version = '0.2.
|
17
|
-
s.date = '2010-11-
|
16
|
+
s.version = '0.2.3'
|
17
|
+
s.date = '2010-11-20'
|
18
18
|
s.rubyforge_project = 'trinidad_daemon_extension'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 3
|
9
|
+
version: 0.2.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- David Calavera
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-20 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|