Don't acquire lock if there is no formatter
Don't acquire lock if there is no formatter

this cause locking when a log handler don't have a formatter (because it don't need one)
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt