Implement catlog command (OMS-149)
Fix the terminal-log loop that prevented catlog from being used from REST (OMS-149)