Andy: adding a logging message to onResourceRequested for testing