FACES-1477 Fix inefficiency with LogRecordFactory