WebFaction
Community site: login faq

Hi,

I have 400 http answer. I see it on access log /home/USER/logs/frontend/access_WEBSITE.log But error log is empty /home/USER/logs/frontend/error_WEBSITE.log

Where can I find description of error?

asked 03 Nov '14, 20:36

Andrey
114
accept rate: 0%


That just means that your application is returning a 400 HTTP Response code but isn't providing more information (so, there's nothing interesting to log).

You'll need to trace the request through your application manually and determine how far it's getting. If you're using python, you can do something like this to get a python prompt at an opportune time:

import code
code.interact(local=locals())

This is a good choice if you want to explore the execution state but don't need a full-fledged pdb session. Also see the mod_wsgi debugging techniques.

permanent link

answered 04 Nov '14, 09:27

ryans ♦♦
5.0k93460
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×108
×15

question asked: 03 Nov '14, 20:36

question was seen: 1,936 times

last updated: 04 Nov '14, 09:27

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM