import json
import logging
import logging.config
import logging.handlers
from .supervisord import Supervisord, ScheduleAuto
from pathlib import Path

currentPath = Path().parent.absolute()
with open("{0}/config/python_logging_configuration.json".format(currentPath), 'r') as configuration_file:
    config_dict = json.load(configuration_file)
logging.config.dictConfig(config_dict)
# Create the Logger
logger = logging.getLogger(__name__)
