Logger function: Fatal error fix
Logger function: Fatal error fix

Adding check that DB had inited (actual for logging on early system
loading stage).

Cotonti/Cotonti,Cotonti/valencia,Roffun/Cotonti,Cotonti/valencia,Cotonti/Cotonti,Cotonti/Cotonti,Cotonti/valencia,Roffun/Cotonti,Roffun/Cotonti