Fix. Deprectation warning for log appender