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
Fix bug with creating a new log
wycats (author)
Sat Sep 27 13:13:48 -0700 2008
commit  eb52fcec508a458af4d2d286223960b24a2954c3
tree    ee512cefb501595ac22f5396c71a9323eb3db2ac
parent  70a47b4b70c67a0328f1845fab0f9ef258a1ec87
...
300
301
302
303
304
 
 
305
306
307
...
300
301
302
 
 
303
304
305
306
307
0
@@ -300,8 +300,8 @@ module Merb
0
         else
0
           FileUtils.mkdir_p(File.dirname(log))
0
           stream = File.open(log, (File::WRONLY | File::APPEND | File::CREAT))
0
-          stream.write("#{Time.now.httpdate} #{delimiter} " \
0
-            "info #{delimiter} Logfile created\n")
0
+          stream.write("#{Time.now.httpdate} #{Merb::Config[:log_delimiter]} " \
0
+            "info #{Merb::Config[:log_delimiter]} Logfile created\n")
0
         end
0
         stream.sync = true
0
         stream

Comments