Hi,
logger.info request.headers is giving me the headers of the request in development mode. However I can't get the same on production mode.
Any hints?
Thanks
Hi,
logger.info request.headers is giving me the headers of the request in development mode. However I can't get the same on production mode.
Any hints?
Thanks
there is a line
config.log_level = :error
or something the like in development.rb
you can change or remove that to get the right log level
or use logger.error instead of logger.info
Thanks Thorsten
or use logger.error instead of logger.info
I did try that one also with the same result...
Regards
Hi,
I need to inspect the request header I'm getting from a client in production mode.
Any hints anyone?
Thanks.
comopasta Gr wrote:
Hi,
I need to inspect the request header I'm getting from a client in production mode.
Any hints anyone?
Thanks.
I like to use the firebug addon for firefox, it really helps with web design and as a bonus you can track requests, responses and see everything that travels over the network.
Its a helpful all round tool IMHO
HTH
Matt
Thanks Matt!
Yeah I use firebug. That is great to see the requests I send from the browser for example. In my case the request is coming from a mobile device and I'd like to see how the request received by the server looks.
Regards