icatproject / icat.server

The ICAT server offering both SOAP and "RESTlike" interfaces to a metadata catalog.
Other
1 stars 5 forks source link

Update logback configuration #286

Closed RKrahl closed 2 years ago

RKrahl commented 2 years ago

While testing #285, I noticed a message from logback:

14:08:39,554 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@442299cc - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
14:08:39,554 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@442299cc - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy

I'm not sure if this was already there before. But anyway, I guess while we are at it updating dependencies, we might just as well drop using deprecated features in the configuration. So I propose to update the logback configuration following the model suggested in the documentation. It even simplifies the configuration.