added initial version of logpress handling