add loggging level and some hardening for istatd horizon processing