Fix formatting problem for SEARCH and VIEW
Fix logic bug when setting up logger
Reverted exception throwing as not applicable