Exemple #1
0
def applicationStart():
    config.configureLogging()
    config.clearLog()
    
    _logger.info('Application started.')
    
    backupService.recoverDataFromBackup()
    backupService.backupADirectory(settings.DATA_DIR)
from javaLoggingHelper import backupService, config

if __name__ == '__main__':
    config.configureLogging()
    config.clearLog()
    
    backupService.recoverDataFromBackup()