Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No handlers could be found for logger "silk" #35

Closed
GitFree opened this issue Sep 2, 2014 · 4 comments
Closed

No handlers could be found for logger "silk" #35

GitFree opened this issue Sep 2, 2014 · 4 comments

Comments

@GitFree
Copy link

GitFree commented Sep 2, 2014

Every time I request , I get this error tip: No handlers could be found for logger "silk"
Except this error tip, everything is ok.
Django version 1.5.1
silk version 0.4

@mtford90
Copy link
Collaborator

Hi, sorry for the late reply. You still having this issue? Have you tried adding a logger for silk in settings.py under logging?

e.g.

'loggers': {
    'silk': {
        'handlers': ['console'],
        'level': 'DEBUG'
    }
}

Although it's saying no handlers found as opposed to no logger found. Have you mistakingly added silk to the handlers dict?

@GitFree
Copy link
Author

GitFree commented Sep 10, 2014

thx, this must work.I had thought so, but didn't try.
2014年9月10日 下午3:26于 "Michael Ford" notifications@github.com写道:

Hi, sorry for the late reply. You still having this issue? Have you tried
adding a logger for silk in settings.py under logging?

e.g.

'loggers': {
'silk': {
'handlers': ['console'],
'level': 'DEBUG'
}}

Although it's saying no handlers found as opposed to no logger found. Have
you mistakingly added silk to the handlers param?


Reply to this email directly or view it on GitHub
#35 (comment).

@mtford90
Copy link
Collaborator

Ok cool. It shouldn't be causing an error if you haven't included a logger though. It should just simply not log anything. So if you confirm that this is the case I will fix this.

@GitFree
Copy link
Author

GitFree commented Sep 11, 2014

Yes, I think it should be silent if no logger.and show how to enable it in
docs.Finally, thank you for silk!
2014年9月10日 下午8:29于 "Michael Ford" notifications@github.com写道:

Ok cool. It shouldn't be causing an error if you haven't included a logger
though. It should just simply not log anything. So if you confirm that this
is the case I will fix this.


Reply to this email directly or view it on GitHub
#35 (comment).

@GitFree GitFree closed this as completed Sep 17, 2014
pablodiazgutierrez pushed a commit to appfluence/django-silk that referenced this issue Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants