Just add following function to print something in log file.
logger.info ">>>>>>>>>print something<<<<<<<"
P.S.
If you are in development environment , tail log/development.log file
tail -f log/development.log