lookup functions should log - printLog can be called with apache logger
add doc and let lookup funtions log
let lookup funtions log