Fix pointer to rails logger