Updated to only set values for individual logging categories if defined.