feat(#27): Set up consola logger, make use of log levels in backend and frontend

This commit is contained in:
2025-12-24 10:26:22 +01:00
parent 805c66bc4f
commit 7f7852a66a
36 changed files with 312 additions and 141 deletions

View File

@@ -639,6 +639,7 @@ Set in `nuxt.config.ts` → `runtimeConfig.public`:
- `serverApiBaseUrl` - Direct backend URL (server-side)
- `serverApiBasePath` - Backend API base path
- `keycloakTokenUrl` - Keycloak token endpoint
- `logLevel` - Frontend log level (Consola). Controlled via `NUXT_PUBLIC_LOG_LEVEL` (defaults: `debug` in dev, `warn` in prod)
OAuth configuration (`runtimeConfig.oauth.keycloak`):
- `clientId`, `clientSecret`, `realm`, `serverUrl`, `redirectURL`
@@ -652,6 +653,9 @@ Main config in `src/main/resources/application.yaml`:
- Database connection (PostgreSQL)
- Keycloak JWT validation
- Server port (default: 8080)
- Logging levels via env vars:
- `LOGGING_LEVEL_ROOT`
- `LOGGING_LEVEL_APP` for `com.betriebsratkanzlei.legalconsenthub`
---