Newlines in error_log
Dave <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
I've got a little problem with the error reporting of mod-ruby. It was working correctly before, but I upgraded to apache and mod-ruby, and now my error messages are all appearing on one line like so: [Thu Jun 24 18:17:17 2004] [error] mod_ruby: error in ruby\n/usr/lib/rub y/site_ruby/ruby-general/INI/INI.rb:136:in `test': Insecure operation - test (SecurityError)\n\tfrom usr/lib/ruby/site_ruby/ruby-general/INI/INI .rb:136:in `initialize'\n\tfrom /usr/lib/ruby/site_ruby/mod_ruby/Content s.rb:51:in `new'\n\tfrom /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:51 :in `initialize'\n\tfrom /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:19 1:in `new'\n\tfrom /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:191:in ` initialize'\n\tfrom /usr/lib/ruby/site_ruby/lepertheory/Template.rb:59:i n `new'\n\tfrom /usr/lib/ruby/site_ruby/lepertheory/Template.rb:59:in `i nitialize'\n\tfrom /var/www/localhost/htdocs/index.rhtml:7:in `new'\n\tf rom /var/www/localhost/htdocs/index.rhtml:7\n\tfrom (eval):0\n\tfrom /us r/lib/ruby/1.8/apache/eruby-run.rb:114:in `eval_string_wrap'\n\tfrom /us r/lib/ruby/1.8/apache/eruby-run.rb:114:in `run'\n\tfrom /usr/lib/ruby/1. 8/apache/eruby-run.rb:72:in `handler'\n When previously they had been appearing nicely formatted like this: [Thu Jun 24 18:17:17 2004] [error] mod_ruby: error in ruby /usr/lib/ruby/site_ruby/ruby-general/INI/INI.rb:136:in `test': Insecure operation - test (SecurityError) from /usr/lib/ruby/site_ruby/ruby-general/INI/INI.rb:136:in `initialize' from /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:51:in `new' from /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:51:in `initialize' from /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:191:in `new' from /usr/lib/ruby/site_ruby/mod_ruby/Contents.rb:191:in `initialize' from /usr/lib/ruby/site_ruby/lepertheory/Template.rb:59:in `new' from /usr/lib/ruby/site_ruby/lepertheory/Template.rb:59:in `initialize' from /var/www/localhost/htdocs/index.rhtml:7:in `new' from /var/www/localhost/htdocs/index.rhtml:7 from (eval):0 from /usr/lib/ruby/1.8/apache/eruby-run.rb:114:in `eval_string_wrap' from /usr/lib/ruby/1.8/apache/eruby-run.rb:114:in `run' from /usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler' Any ideas how I can get the escape characters to be interpreted again? As you can imagine, it makes debugging kind of hard. - Dave