CDAP-510: Service logs don't show up on the UI

I have tested this fix on different cdap-examples.