2
我以集成的方式安裝了django-sentry
。 我然後跑python manage.py shell
,並嘗試登錄是這樣的:爲什麼我會爲記錄器「sentry.errors」找到丟失的處理程序?
>> import logging
>> mylog = logging.getLogger('sentrylogger')
>> mylog.handlers
[<logging.StreamHandler instance at 0x9f6130c>,
<sentry.client.handlers.SentryHandler instance at 0x9ffed4c>]
>> mylog.debug('this is a test 1')
DEBUG 2011-09-28 11:10:33,178 <ipython console> 4607 -1217300800 this is a test 1
No handlers could be found for logger "sentry.errors"
目前,沒有數據被寫入到崗哨。我相信失蹤的記錄員'哨兵'錯誤'是我無法登錄哨兵的根本原因。我在正確的軌道上嗎?