fix: cleanup information in logs (#10634)

# Which Problems Are Solved

I noticed some outdated / misleading logs when starting zitadel:
- The `init-projections` were no longer in beta for a long time.
- The LRU auth request cache is disabled by default, which results in
the following message, which has caused confusion by customers:
```level=info msg="auth request cache disabled" error="must provide a positive size"```

# How the Problems Are Solved

- Removed the beta info
- Disable cache initialization if possible

# Additional Changes

None

# Additional Context

- noticed internally
- backport to v4.x

(cherry picked from commit a1ad87387d)
This commit is contained in:
Livio Spring
2025-09-03 11:18:54 +02:00
parent e06dee2bc3
commit d5066237f9
2 changed files with 3 additions and 2 deletions

View File

@@ -571,8 +571,6 @@ func initProjections(
ctx context.Context,
eventstoreClient *eventstore.Eventstore,
) error {
logging.Info("init-projections is currently in beta")
for _, p := range projection.Projections() {
if err := migration.Migrate(ctx, eventstoreClient, p); err != nil {
logging.WithFields("name", p.String()).OnError(err).Error("projection migration failed")