Move logging/fille access via $kernel from Controller to Pallet()