begin rails 4 support
logger