Default (India) interview question

How to properly use logging in Django?