Results of 1 - 10 of about 17 for logger (0.024 sec.)
- How to configure and use logging — Django 4.0.6 ドキュメント 14914
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
port the Python logging library, and then obtain a logger instance with logging.getLogger() . Provide the ge ...
tLogger() method with a name to identify it and the record ...
t emits. A good option is to use __name__ (see Use logger namespacing below for more on this) which will pro ...
ent Python module as a dotted path: import logging logger = logging . getLogger ( __name__ ) It's a good con ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]
- ロギング — Django 4.0.6 ドキュメント 10431
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
レベル以上のメッセージをコンソールに送信します。 All loggers except django.server propagate logging to their p ...
arents, up to the root django logger. The console and mail_admins handlers are attached ...
to the root logger to provide the behavior described above. Python's ...
utils/log.py : { 'version' : 1 , 'disable_existing_loggers' : False , 'filters' : { 'require_debug_false' : ...
-
https://man.plustar.jp/django/ref/logging.html
- [similar]
- django.utils.log — Django 4.0.6 ドキュメント 9035
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.utils.module_loading import import_string request_logger = logging . getLogger ( "django.request" ) # Defau ...
AULT_LOGGING = { "version" : 1 , "disable_existing_loggers" : False , "filters" : { "require_debug_false" : ...
s" : "django.utils.log.AdminEmailHandler" , }, }, "loggers" : { "django" : { "handlers" : [ "console" , "mai ...
sage , * args , response = None , request = None , logger = request_logger , level = None , exc_info = None ...
-
https://man.plustar.jp/django/_modules/django/utils/log.html
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 8880
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
handler = True , timing = True , shuffle = False , logger = None , ** kwargs ) ¶ DiscoverRunner will search ...
utput SQL queries logged to the django.db.backends logger as well as the traceback. If verbosity is 2 , then ...
by test class is preserved when using this option. logger can be used to pass a Python Logger object . If pr ...
ovided, the logger will be used to log messages instead of printing t ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- ロギング — Django 4.0.6 ドキュメント 8724
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
。 ロガー ハンドラ フィルタ フォーマッタ ロガー ¶ A logger is the entry point into the logging system. Each l ...
that determines what happens to each message in a logger. It describes a particular logging behavior, such ...
nal control over which log records are passed from logger to handler. デフォルトでは、ログレベル要件を満たし ...
ce, while some of the data you collect in your own loggers may also have security implications. You need to ...
-
https://man.plustar.jp/django/topics/logging.html
- [similar]
- Database instrumentation — Django 4.0.6 ドキュメント 8345
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
at ( alias )) For a more complete example, a query logger could look like this: import time class QueryLogge ...
( current_query ) To use this, you would create a logger object and install it as a wrapper: from django.db ...
import connection ql = QueryLogger () with connection . execute_wrapper ( ql ): do_qu ...
-
https://man.plustar.jp/django/topics/db/instrumentation.html
- [similar]
- Django 4.0 release notes — Django 4.0.6 ドキュメント 8293
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
along with each message to the django.db.backends logger. 管理コマンド ¶ The runserver management command n ...
rts a --buffer option with parallel tests. The new logger argument to DiscoverRunner allows a Python logger ...
a way to log messages that uses the DiscoverRunner.logger , or prints to the console if not set. Django test ...
-
https://man.plustar.jp/django/releases/4.0.html
- [similar]
- django.dispatch.dispatcher — Django 4.0.6 ドキュメント 8086
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
om django.utils.inspect import func_accepts_kwargs logger = logging . getLogger ( "django.dispatch" ) def _m ...
er = sender , ** named ) except Exception as err : logger . error ( "Error calling %s in Signal.send_robust( ...
-
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 7914
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
minEmailHandler , attached to the 'django.request' logger. In order to maintain the established behavior of ...
error emails, the 'django.request' logger was called only when DEBUG was False . To increase ...
f error logging for requests, the 'django.request' logger is now called regardless of the value of DEBUG , a ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 7862
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
default, all logging messages reaching the django logger when DEBUG is True are sent to the console (unless ...
you redefine the logger in your LOGGING setting). When using RequestContex ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]