Adjust code according to comments on pull request

It remains to substitute the level of some of the messages from `info'
to `notice'.