fix logging based on outdated Play docs