public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
Put thin boot header back in start method to allow silencing Thin 
completly.
macournoyer (author)
Thu Feb 21 08:02:00 -0800 2008
commit  e9b45d9dcaa97e2d9f42d7fb9f1385ed61738206
tree    c702f5d46eb2b3bcfe893d1fabef016360dbf802
parent  ad7d483fc4aed44f8092030ad94d7a5cfa6ce531
...
101
102
103
104
105
106
107
108
...
128
129
130
 
 
 
 
131
132
133
...
213
214
215
216
217
218
219
220
221
222
223
 
224
225
...
101
102
103
 
 
104
105
106
...
126
127
128
129
130
131
132
133
134
135
...
215
216
217
 
 
 
 
 
 
 
 
218
219
220
0
@@ -101,8 +101,6 @@
0
       
0
       # If in debug mode, wrap in logger adapter
0
       @app = Rack::CommonLogger.new(@app) if Logging.debug?
0
-
0
- log_header
0
     end
0
     
0
     # Lil' shortcut to turn this:
0
@@ -128,6 +126,10 @@
0
             
0
       # See http://rubyeventmachine.com/pub/rdoc/files/EPOLL.html
0
       EventMachine.epoll
0
+
0
+ log ">> Thin web server (v#{VERSION::STRING} codename #{VERSION::CODENAME})"
0
+ debug ">> Debugging ON"
0
+ trace ">> Tracing ON"
0
             
0
       log ">> Listening on #{@connector}, CTRL+C to stop"
0
       
0
@@ -213,14 +215,7 @@
0
         trap('QUIT') { stop }
0
         trap('INT') { stop! }
0
         trap('TERM') { stop! }
0
- end
0
-
0
- def log_header
0
- log ">> Thin web server (v#{VERSION::STRING} codename #{VERSION::CODENAME})"
0
- debug ">> Debugging ON"
0
- trace ">> Tracing ON"
0
- end
0
-
0
+ end
0
   end
0
 end

Comments

    No one has commented yet.