log to a (hardcoded) text path and (hardcoded) h5 path