The common verbosity will be passed to the handler:

class Command(BaseCommand):
    ...
    def handler(**kwargs):
         verbosity = kwargs['verbosity']


I tried to get clever once and not have **kwargs, but Django sends that 
common stuff, like '--settings", and it is good for me to pay attention.

OTOH, if you want to know whether this has anything to do with Python's 
logging module, it doesn't - that all depends on your settings file 
contents.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e6e1936a-d45d-4212-acfc-be79d2cb328a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to