log: move constant dict outside _stderr_receiver()