Updated to new logger