Example log procedure