issue #7: rails 2 style log_error updated to rails 3 style logger.error