Adding function to monitor process logging.