<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 29 November 2013 09:57, Stefan Kooman <span dir="ltr"><<a href="mailto:stefan@bit.nl" target="_blank">stefan@bit.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">Quoting Daniel Molina (<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>):<br>
><br>
> Include it before the if:<br>
> logger.error(rackinput.class)<br>
> if (rackinput.class == Tempfile)<br>
<br>
</div>I did just that, restarted apache and tried again. I can't spot the<br>
value in the logs, can you? Passenger errors are logged in apache error log<br>
(not vhost) log. I did check all logs but didn't find anything.</blockquote></div><br>It should be in /var/log/one/sunstone.log</div><div class="gmail_extra"><br></div><div class="gmail_extra">You can also write the value to a file:</div>
<div class="gmail_extra">File.open('/tmp/debug_sunstone", 'w') { |file| file.write(rackinput.class) }<br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div></div>