Andy McKay
f7ea92d783
this generates just too much data
2013-04-18 11:11:11 -07:00
Victor Ng
1a5fe98555
removed import for nonexistent sentry function
2013-04-18 14:09:50 -04:00
Andy McKay
da9a1afd51
this is less verbose
2013-04-12 16:30:53 -07:00
Andy McKay
704031e67d
add in signal timer
2013-04-12 16:04:44 -07:00
Victor Ng
bf50fc4201
bug 858360 - pulled out the testcase for tastypie error logging into a separate package
2013-04-09 12:37:12 -04:00
Victor Ng
2ff4aaf878
disabled the is_enabled() check on the raven client as it is only True
...
in a production setting
2013-04-08 17:34:09 -04:00
Victor Ng
ff365249ec
bug 858360 initialize the SentryHandler for Raven >= 3.0
...
* Got rid of the alternate MetlogTastypieHandler and just use the
standard SentryHandler with a client extracted from
raven.contrib.django.models
* dropped USE_METLOG_FOR_TASTYPIE as tastypie will now just use
whatever sentry client is defined by settings.SENTRY_CLIENT
* fixed the construction of SentryHandler to use raven 3.0 compatible
arguments
2013-04-08 15:35:07 -04:00
Victor Ng
59f5d47b91
bug 793302, 784722 - fix CEF and sentry logging to route through metlog
...
* bumped dependencies for metlog-cef and metlog-sentry
* added extra configuration for CEF over syslog and Sentry over UDP
* i've set a dummy host/port setup for the UdpSender in metlog
* added settings modification for metlog raven
* bumped metlog-py to 0.9.8 for better unicode error
* dropped lib/misc/tests/test_log:TestUnicodeError as metlog-py will
handle invalid unicode now
* changes the setup METLOG_CONF in lib/misc/tests/test_log
as it was being re-used from lib/settings_base which caused
invalid host configuration options to be pulled in.
* also moved the raven testcase out of the stdliblogging testcase
class and into it's own isolated test
2012-10-05 16:27:42 -04:00
Victor Ng
29b24c3914
Revert "changes the setup METLOG_CONF for testcases"
...
This reverts commit 92801b335a
.
2012-10-04 13:28:46 -04:00
Victor Ng
92801b335a
changes the setup METLOG_CONF for testcases
...
METLOG_CONF was being re-used from lib/settings_base which caused some
invalid configuration options to be pulled in.
also moved the raven testcase out of the stdliblogging testcase class
and into it's own isolated test
2012-10-04 11:27:30 -04:00
Tarek Ziade
a8ba62fbf2
use django.conf
2012-09-24 06:15:39 +02:00
Tarek Ziade
218b8f0183
cosmetics
2012-09-24 03:32:52 +02:00
Tarek Ziade
bd47d07d89
added a RAISE_ON_SIGNAL_ERROR flag so we catch signals errors (Bug 793999)
2012-09-24 03:20:01 +02:00
Victor Ng
bcc2a16750
bug 793351 - fixes a buggy testcase and condtionally use the SentryHandler
2012-09-24 13:14:23 -04:00
Victor Ng
8613bf5a1f
bug 792436 - added support to route all stacktraces through metlog-sentry
...
also added an option on the zadmin.generate-error button to send
sentry messages
2012-09-21 17:01:36 -04:00
Victor Ng
ac05be665e
compressed patch to add metlog (bug 783382)
2012-09-10 08:54:28 -07:00
Wraithan (Chris McDonald)
46a2c790a1
remove lru_cache from featured/creatured (bug 772258)
2012-07-10 13:50:26 -07:00
Andy McKay
8e78ea2744
stop the error propogating (bug 734422)
2012-05-25 11:51:00 +01:00
Andy McKay
7ba1ebb43b
move statsd error handler over to django_statsd this admin_log will soon be pointless...
2012-04-27 16:03:57 -07:00
Andy McKay
24ff23e9ad
so long arecibo
2012-04-27 14:41:38 -07:00
Andy McKay
8f1d3754b8
cope without the request and don't even bother with arecibo at the moment (bug 745917)
2012-04-16 14:04:33 -07:00
Kumar McMillan
af5aef6101
Ensure log formatter does not coerce to str (bug 734422)
2012-03-29 15:56:00 -05:00
Andy McKay
be65a4cbc8
simplify log handling, always write to the log
2012-03-07 10:45:48 -08:00
Chris Van
669c53b5ce
revert read_dev_agreement back to a bool
2012-02-27 15:21:50 -08:00
Chris Van
427c4506fb
escape regex for suppressing ValidationError
2012-02-27 14:56:48 -08:00
Chris Van
5d612c0703
suppress datetime traceback on -dev
2012-02-27 14:27:22 -08:00
Andy McKay
f2324c6148
make setting up logs explicit and allow us to break it down and pull the bits we want into services (bug 725828)
2012-02-09 16:57:50 -08:00
Andy McKay
c70ac80ea0
no statsd and arecibo for now
2012-02-09 14:34:33 -08:00
Andy McKay
db33ae3801
keep emailing mysql errors
2012-02-09 12:00:08 -08:00
Andy McKay
838f69478f
add in request path to log and let all emitters cope with missing exc_info and request (bug formatter)
2012-02-09 11:46:33 -08:00
Andy McKay
974968f1bd
remove unneeded test and fix jenkins
2012-02-08 11:32:51 -08:00
Rob Hudson
064877f01d
new log handlers which log to multiple places diverting common errors to the log files, emailing less common errors (bug 719234)
2012-02-08 10:49:09 -08:00
Andy McKay
18775ebfe0
make lib explicit
2012-01-30 16:31:42 -08:00
Andy McKay
23c21e0c97
Revert "allow multiple sites, with manage.py coping with different settings locations"
...
This reverts commit 2831ca9f57
.
2012-01-30 15:36:57 -08:00
Andy McKay
2831ca9f57
allow multiple sites, with manage.py coping with different settings locations
2012-01-30 14:34:18 -08:00