public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Somehow the code that supports a single log file went missing :P
wycats (author)
Sat Sep 27 21:31:53 -0700 2008
commit  55dcdc6fbc29257dcaf25997d59cdf66fb66a507
tree    bb74965f00abaa2914169f219d275fd0918eef03
parent  9440e521e1dbc6bc45dfc06b136a69edbfc677bc
...
129
130
131
132
133
134
 
 
 
135
136
137
...
129
130
131
 
 
 
132
133
134
135
136
137
0
@@ -129,9 +129,9 @@ module Merb
0
         # Store the PID for this worker
0
         Merb::Server.store_pid(port)
0
 
0
-        # Set up the logger for this worker to point to its process.
0
-        Merb::Config[:log_stream] = Merb.log_stream(port)
0
-          
0
+        Merb::Config[:log_delimiter] = "#{$0} ~ "
0
+        Merb.logger = nil
0
+
0
         Merb.logger.warn!("Starting #{self.name.split("::").last} at port #{port}")
0
         
0
         # If we can't connect to the port, keep trying until we can. Print

Comments