But I have added a logger setting in my django settings file, then also do 
I have to add verbosity setting arg in my custom management command ?

On Saturday, February 16, 2019 at 4:12:07 AM UTC+5:30, Dan Davis wrote:
>
> 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/09c9d0c9-3c06-4f18-af3d-b9c1b6c8730d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to