Fix missing logger for content processor context and improve rebuild handling.