Print detection message to the system log.
Add info about deprecated function.