(t *testing.T)
| 689 | } |
| 690 | |
| 691 | func TestSetupAndValidateLoggingWithLoggingConfig(t *testing.T) { |
| 692 | t.Skip("Skipping TestSetupAndValidateLoggingWithLoggingConfig") |
| 693 | base.SetUpTestLogging(t, base.LevelInfo, base.KeyAll) |
| 694 | logFilePath := "/var/log/sync_gateway" |
| 695 | sc := &StartupConfig{Logging: base.LoggingConfig{LogFilePath: logFilePath, RedactionLevel: base.RedactFull}} |
| 696 | err := sc.SetupAndValidateLogging(base.TestCtx(t)) |
| 697 | assert.NoError(t, err, "Setup and validate logging should be successful") |
| 698 | assert.Equal(t, base.RedactFull, sc.Logging.RedactionLevel) |
| 699 | } |
| 700 | |
| 701 | func TestAuditLogConfigDatabaseEventInGlobal(t *testing.T) { |
| 702 | base.ResetGlobalTestLogging(t) |
nothing calls this directly
no test coverage detected