Exemple #1
0
        // Token: 0x06000A1F RID: 2591 RVA: 0x000232F4 File Offset: 0x000214F4
        private ExTraceGlobals()
        {
            SyncLogConfiguration syncLogConfiguration = LogConfiguration.CreateSyncLogConfiguration();
            SyncLog syncLog = new SyncLog(syncLogConfiguration);

            ExTraceGlobals.syncLogSession = syncLog.OpenGlobalSession();
        }
Exemple #2
0
 internal static SyncLogConfiguration CreateSyncLogConfiguration()
 {
     return(new SyncLogConfiguration
     {
         Enabled = LogConfiguration.GetAppSetting <bool>("LyncIMSyncLogEnabled", true),
         AgeQuotaInHours = LogConfiguration.GetAppSetting <long>("LyncIMSyncLogAgeQuota", 168L),
         DirectorySizeQuota = LogConfiguration.GetAppSetting <long>("LyncIMSyncLogDirectorySizeQuota", 256000L),
         PerFileSizeQuota = LogConfiguration.GetAppSetting <long>("LyncIMSyncLogFileSizeQuota", 10240L),
         LogFilePath = LogConfiguration.GetAppSetting <string>("LyncIMSyncLogFilePath", "Logging\\OWA\\InstantMessaging"),
         SyncLoggingLevel = LogConfiguration.GetAppSetting <SyncLoggingLevel>("LyncIMSyncLogLevel", SyncLoggingLevel.Debugging)
     });
 }