Malex / FrozenFW

A web framework, written in python
http://malexprojects.ath.cx/?p=FrozenFW
GNU General Public License v3.0
1 stars 0 forks source link

Logger full traceback #1

Closed Malex closed 13 years ago

Malex commented 13 years ago

Logger usually prints out only last line of traceback in /var/log/frozen.log

But while debugging user apps, all exceptions are caught at this line:

rep_status,headers,body, filename = dispatch((conf.query("base_dir")+data.SERVER['PATH_INFO']).replace("//","/"))

There should be an option to check whether print out the full traceback, maybe to a different file.

(mkdir var/log/frozen and put a file and another dir there: errors.log and user/$file.log ?)