Reinstate tlogerr() and friends.
Add USE_ASL_LOGGING guard macro.
Add CFDB version of IB1217 database.