chore: more visibility and debug lines for queues (#836)

* chore: more visibility and debug options for queues

* better debug lines on queue repo

* don't log so much in load test
This commit is contained in:
abelanger5
2024-08-29 14:49:24 -04:00
committed by GitHub
parent 96c040ebb7
commit b5014f6b3d
21 changed files with 1242 additions and 103 deletions
+6 -2
View File
@@ -47,9 +47,13 @@ func Prepare(t *testing.T) {
_ = os.Setenv("SERVER_SECURITY_CHECK_ENABLED", "false")
_ = os.Setenv("SERVER_LOGGER_LEVEL", "error")
_ = os.Setenv("SERVER_LOGGER_FORMAT", "json")
_ = os.Setenv("SERVER_LOGGER_FORMAT", "console")
_ = os.Setenv("DATABASE_LOGGER_LEVEL", "error")
_ = os.Setenv("DATABASE_LOGGER_FORMAT", "json")
_ = os.Setenv("DATABASE_LOGGER_FORMAT", "console")
_ = os.Setenv("SERVER_ADDITIONAL_LOGGERS_QUEUE_LEVEL", "error")
_ = os.Setenv("SERVER_ADDITIONAL_LOGGERS_QUEUE_FORMAT", "console")
_ = os.Setenv("SERVER_ADDITIONAL_LOGGERS_PGXSTATS_LEVEL", "error")
_ = os.Setenv("SERVER_ADDITIONAL_LOGGERS_PGXSTATS_FORMAT", "console")
// read in the local config
configLoader := loader.NewConfigLoader(path.Join(testPath, baseDir, "generated"))