WebFaction
Community site: login faq

Is there any way I can see errors and exceptions while running my app? I have a working app now, but I think that it would be good to capture exceptions if there are any differences between development and deployment.

asked 10 Jan '12, 20:08

lucidguppy
12
accept rate: 0%


Track-backs and anything else printed to sys.stderr are logged in the Apache log. You can tail the log in real-time with the tail command,

tail -f ~/logs/user/*
permanent link

answered 10 Jan '12, 20:34

johns
5.4k312
accept rate: 23%

P.S. If the application is not using Apache than look in the server's logs, which are normally defined in the server config file. Each python framework also has admin options for track-backs and you should check the framework's official documentation.

(10 Jan '12, 20:37) johns

Maybe have a look at the python package logbook, which is able to notify you by e-mail, or twitter, about events happening. http://packages.python.org/Logbook/

permanent link

answered 11 Jan '12, 02:42

rogererens
1123
accept rate: 0%

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:

×337
×44
×5

question asked: 10 Jan '12, 20:08

question was seen: 2,483 times

last updated: 11 Jan '12, 02:42

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