Just wanted to check with the developers:
file: "freeathome/fah/settings.py"
it is using "log", while it is not defined in this file.
It is actually defined in the "get-master-message.py", where the class in settings.py is imported.
Just wanted to check if this is actually allowed, or if it should include:
import logging log = logging.getLogger(__name__)
If you would run 'python get-master-message.py', where the IP address is still "xx.xx.xx.xx" you would see the traceback errors for 'log' being undefined.
They are shown correctly on the screen when the above code is also added to settings.py file.
Just wanted to check with the developers: file: "freeathome/fah/settings.py"
it is using "log", while it is not defined in this file. It is actually defined in the "get-master-message.py", where the class in settings.py is imported.
Just wanted to check if this is actually allowed, or if it should include:
import logging log = logging.getLogger(__name__)
If you would run 'python get-master-message.py', where the IP address is still "xx.xx.xx.xx" you would see the traceback errors for 'log' being undefined.
They are shown correctly on the screen when the above code is also added to settings.py file.