Hi people,
Two problems:
1) It seems to me that by default quickstarted project in production
does not log python tracebacks into server log. I tried to change
logging configuration but it didn't help, the only way i could get
traceback is by setting server.environment to "development".
2) When TG process started with start-stop-daemon, there is no log...
at all. My script is started as follows:
start-stop-daemon --chuid $USER --start --pidfile $PIDFILE \
--chdir $APP_PATH --background --make-pidfile --startas
$DAEMON -- $CONFIG
(where APP_PATH is TG applicaiton path and DAEMON is the start-app.py
script)
The only way I could get logfile in this case was completely removing
logging configuration from prod.cfg and removing log.cfg.
Does anybody have a working example of production logging config that
logs traceback?! That would be very helpful.
Thanks a lot,
Ksenia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---