Skip to main content
Question

24.10.29 New Deprecation log growing constantly

  • August 31, 2026
  • 2 replies
  • 15 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?

2 replies

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.


Adrien Morais-Mestre
Centreonian
Forum|alt.badge.img+8

Hi ​@flex,

You can now upgrade to the centreon-web 24.10.30.

https://docs.centreon.com/docs/24.10/releases/centreon-os/#centreon-web-241030

The deprecation channel has been disabled by default for production env preventing the log file from growing uncontrollably and filling the disk.

Regards,

Adrien