private void DeleteOldLogs(object state)
 {
     try
     {
         int nombreLigneDeleted = SqlContext.DeleteLogs(30).GetAwaiter().GetResult();
         Log.Information($"LOGS - Suppression de {nombreLigneDeleted} lignes de logs.");
     }
     catch (Exception ex)
     {
         Log.Error(ex, "Erreur dans DeleteOldLogs");
     }
 }