public ReminderTests_Base(BaseClusterFixture fixture) { HostedCluster = fixture.HostedCluster; ClientConfiguration cfg = ClientConfiguration.LoadFromFile("ClientConfigurationForTesting.xml"); LogManager.Initialize(cfg); #if DEBUG LogManager.AddTraceLevelOverride("Storage", Severity.Verbose3); LogManager.AddTraceLevelOverride("Reminder", Severity.Verbose3); #endif log = LogManager.GetLogger(this.GetType().Name, LoggerType.Application); }
public void Logger_AddRemoveOverride() { const string name = "LoggerOverrideTest"; const string fullName = "Runtime." + name; var logger = LogManager.GetLogger(name, LoggerType.Runtime); var initialLevel = logger.SeverityLevel; LogManager.AddTraceLevelOverride(fullName, Severity.Warning); Assert.Equal(Severity.Warning, logger.SeverityLevel); // "Logger level not reset after override added" LogManager.RemoveTraceLevelOverride(fullName); Assert.Equal(initialLevel, logger.SeverityLevel); // "Logger level not reset after override removed" }
public MySqlMembershipTableTests(ConnectionStringFixture fixture, TestEnvironmentFixture environment) : base(fixture, environment) { LogManager.AddTraceLevelOverride(typeof(MySqlMembershipTableTests).Name, Severity.Verbose3); }
public PostgreSqlRemindersTableTests(ConnectionStringFixture fixture) : base(fixture) { LogManager.AddTraceLevelOverride(nameof(PostgreSqlRemindersTableTests), Severity.Verbose3); }
public AzureRemindersTableTests(ConnectionStringFixture fixture) : base(fixture) { LogManager.AddTraceLevelOverride("AzureTableDataManager", Severity.Verbose3); LogManager.AddTraceLevelOverride("OrleansSiloInstanceManager", Severity.Verbose3); LogManager.AddTraceLevelOverride("Storage", Severity.Verbose3); }
public AzureMembershipTableTests(ConnectionStringFixture fixture, TestEnvironmentFixture environment) : base(fixture, environment) { LogManager.AddTraceLevelOverride("AzureTableDataManager", Severity.Verbose3); LogManager.AddTraceLevelOverride("OrleansSiloInstanceManager", Severity.Verbose3); LogManager.AddTraceLevelOverride("Storage", Severity.Verbose3); }
public MySqlRemindersTableTests(ConnectionStringFixture fixture, TestEnvironmentFixture environment) : base(fixture, environment) { LogManager.AddTraceLevelOverride(nameof(MySqlRemindersTableTests), Severity.Verbose3); }
public ConsulMembershipTableTest(ConnectionStringFixture fixture, TestEnvironmentFixture environment) : base(fixture, environment) { LogManager.AddTraceLevelOverride("ConsulBasedMembershipTable", Severity.Verbose3); LogManager.AddTraceLevelOverride("Storage", Severity.Verbose3); }
public DynamoDBMembershipTableTest(ConnectionStringFixture fixture) : base(fixture) { LogManager.AddTraceLevelOverride("DynamoDBDataManager", Severity.Verbose3); LogManager.AddTraceLevelOverride("OrleansSiloInstanceManager", Severity.Verbose3); LogManager.AddTraceLevelOverride("Storage", Severity.Verbose3); }
public PostgreSqlMembershipTableTests(ConnectionStringFixture fixture) : base(fixture) { LogManager.AddTraceLevelOverride(typeof(PostgreSqlMembershipTableTests).Name, Severity.Verbose3); }