Your code is correct but perhaps the way you are looking for the log entry is incorrect. Are you using logcat in a terminal or in an ide? The tag you are using for the log message "on Pause" is a little bit odd.
Make sure you are not filtering your log level in logcat beyond error (unlikely but possible). I recomend setting your logcat filtering to "verbose". If you are using a terminal you can grep for "onPause" if there is a lot of noise in your log dump.