# Path: modoboa_imap_migration/settings.py
# PLUGIN_BASE_DIR = os.path.dirname(__file__)
# STATS_FILE = os.path.join(
#     PLUGIN_BASE_DIR, "static/modoboa_imap_migration/webpack-stats.json")
#     DEBUG = settings["DEBUG"]
# def apply(settings):


from logging.handlers import SysLogHandler
from modoboa.test_settings import *  # noqa
from modoboa_imap_migration import settings as modoboa_imap_migration_settings
import os
        'syslog': {
            'format': '%(name)s: %(levelname)s %(message)s'
        },
    },
    'handlers': {
        'syslog-auth': {
            'class': 'logging.handlers.SysLogHandler',
            'facility': SysLogHandler.LOG_AUTH,
            'formatter': 'syslog'
        },
        'modoboa': {
            'class': 'modoboa.core.loggers.SQLHandler',
        }
    },
    'loggers': {
        'modoboa.auth': {
            'handlers': ['syslog-auth', 'modoboa'],
            'level': 'INFO',
            'propagate': False
        },
        'modoboa.admin': {
            'handlers': ['modoboa'],
            'level': 'INFO',
            'propagate': False
        }
    }
}

# Load settings from extensions


# Path: modoboa_imap_migration/settings.py
# PLUGIN_BASE_DIR = os.path.dirname(__file__)
# STATS_FILE = os.path.join(
#     PLUGIN_BASE_DIR, "static/modoboa_imap_migration/webpack-stats.json")
#     DEBUG = settings["DEBUG"]
# def apply(settings):


# Path: test_project/test_project/settings.py
from logging.handlers import SysLogHandler
from modoboa.test_settings import *  # noqa
from modoboa_imap_migration import settings as modoboa_imap_migration_settings
import os

        'syslog': {
            'format': '%(name)s: %(levelname)s %(message)s'
        },
    },
    'handlers': {
        'syslog-auth': {
            'class': 'logging.handlers.SysLogHandler',
            'facility': SysLogHandler.LOG_AUTH,
            'formatter': 'syslog'
        },
        'modoboa': {
            'class': 'modoboa.core.loggers.SQLHandler',
        }
    },
    'loggers': {
        'modoboa.auth': {
            'handlers': ['syslog-auth', 'modoboa'],
            'level': 'INFO',
            'propagate': False
        },
        'modoboa.admin': {
            'handlers': ['modoboa'],
            'level': 'INFO',
            'propagate': False
        }
    }
}

# Load settings from extensions


modoboa_imap_migration_settings.apply(globals())