Skip to main content
Question

24.10.29 New Deprecation log growing constantly

  • August 31, 2026
  • 1 reply
  • 6 views

flex
Forum|alt.badge.img+1

Since the latest update to 24.10.29, the new prod.deprecations.log is growing constantly on every api request, containing messages like

[2026-08-31T09:05:45.595490+02:00] deprecation.INFO: User Deprecated: Since symfony/validator 6.4: Method "Symfony\Component\Validator\ValidatorBuilder::setDoctrineAnnotationReader()" is deprecated without replacement. 

[2026-08-31T09:05:45.609523+02:00] deprecation.INFO: User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.cached_reader" service is deprecated without replacement.

[2026-08-31T09:05:45.609736+02:00] deprecation.INFO: User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.reader" service is deprecated without replacement.

[2026-08-31T09:05:45.609874+02:00] deprecation.INFO: User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.cache_adapter" service is deprecated without replacement.

[2026-08-31T09:05:45.610093+02:00] deprecation.INFO: User Deprecated: Since symfony/validator 6.4: Method "Symfony\Component\Validator\ValidatorBuilder::setDoctrineAnnotationReader()" is deprecated without replacement

The file is rotated by logrotate only weekly, without any limit in size etc.

Is there a way to reduce or to prevent such deprecation logging?

1 reply

Forum|alt.badge.img+13
  • Builder **
  • August 31, 2026

That’s a bug, a fix must be available in the next release.

Awaiting the fix you can cron something like :

truncate -s 0 /var/log/centreon/prod.deprecations.log

There is a early fix, if someone from Centreon want to release it.