logger and parser