#
import sys
+import time
import traceback
import xmlrpclib
from mod_python import apache
except Exception, err:
# Log error in /var/log/httpd/(ssl_)?error_log
- print >> log, err, traceback.format_exc()
+ t = "[" + time.ctime() + "] [error]"
+ print >> log, t, err, traceback.format_exc()
return apache.HTTP_INTERNAL_SERVER_ERROR