Add or processing, add logging framework