Fix: Log entries are written twice
Fix: Log entries are written twice

During plugin bootstrap phase, a call to CakeLog::critical() maybe made
(due to missing plugin) when the Log engine has not been configured.

This causes entries to be written twice and a file `tmp/logs/.log`
to be created incorrectly.

rchavik/croogo,Wouter0100/croogo,xintesa/croogo,damien-biasotto/croogo,rakeshtembhurne/croogo,cvo-technologies/croogo,rchavik/croogo,Wouter0100/croogo,cvo-technologies/croogo,delkyd/croogo,xintesa/croogo,rakeshtembhurne/croogo,cvo-technologies/croogo,rakeshtembhurne/croogo,Wouter0100/croogo,xintesa/croogo,damien-biasotto/croogo,delkyd/croogo,delkyd/croogo