fix showlog when hostname / description is an invalid regexp
quote hosts and services in logexport