Made logger v5.10 compatible