It would probably be good to use a real logger here