Use $log service properly

Need to call one of the logging functions exposed by the `$log` service.