Fixed example using new singleton log