# Production: no relevant logs to fix this problem

**URL:** <https://www.ruby-forum.com/t/production-no-relevant-logs-to-fix-this-problem/142203>\
**Category:** Rails\
**Created:** [July 4, 2008, 3:20pm UTC](https://www.ruby-forum.com/t/production-no-relevant-logs-to-fix-this-problem/142203 "2008-07-04T15:20:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [July 4, 2008, 3:20pm UTC](https://www.ruby-forum.com/t/production-no-relevant-logs-to-fix-this-problem/142203/1 "2008-07-04T15:20:15Z")

</div>

Hi,

I’m moving my application to production.  
There’s some cases where I get:

Application error  
Rails application failed to start properly

But the production log shows no problems:

Rendering template within layouts/application  
Rendering users/create  
Completed in 0.69214 (1 reqs/sec) | Rendering: 0.00501 (0%) | DB:  
0.02535 (3%) | 200 OK [[http://myapp.com/users](http://myapp.com/users)]

In the environment.rb I have:  
config.log\_level = :debug

I’ve tried adding in the controller but got no log line added:  
logger.info( ‘inside create’ )

The page that should be displayed has no tricks just plain html…

Any hints to find what is wrong? It goes ok locally.

Thanks

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [July 4, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/production-no-relevant-logs-to-fix-this-problem/142203/2 "2008-07-04T16:28:43Z")

</div>

> I’m moving my application to production.  
> There’s some cases where I get:
> 
> Application error  
> Rails application failed to start properly
> 
> But the production log shows no problems:

That’s probably your front-end web server (Apache?) serving up  
public/500.html. That can indicate that proxying to your Mongrel or  
WEBrick server isn’t set up properly.

–  
Roderick van Domburg

> **[De domeinnaam Nedforce.nl is te koop.](http://www.nedforce.nl)**
>
> Deze mooie domeinnaam kan al over een paar minuten van jou zijn. Betalen gaat eenvoudig en vertrouwd via iDEAL. Direct na de betaling ontvang je de verhuiscode per e-mail en kun je aan de slag.

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [July 4, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/production-no-relevant-logs-to-fix-this-problem/142203/3 "2008-07-04T18:45:36Z")

</div>

> That’s probably your front-end web server (Apache?) serving up  
> public/500.html. That can indicate that proxying to your Mongrel or  
> WEBrick server isn’t set up properly.

Apache is used. The funny thing is that it happens only in some parts of  
the app. The previous one was in a view that was rendering a partial and  
I had to remove some parts. But since there is no logged info to  
check…

Thanks.

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [July 4, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/production-no-relevant-logs-to-fix-this-problem/142203/4 "2008-07-04T21:25:48Z")

</div>

Now it is solved.

I checked the error logs in the Cpanel of the hosting provider I use.

There was “malformed header from script. Bad header=planet:  
dispatch.cgi, referer:…”

Googling around I found someone advicing to remove any “puts” in the  
controller.  
That planet you see in the bad header is actually a puts params[:answer]

I took away the puts and now it goes ok.

Cheers.
