import logging and use it