add function to get app log lines - specific to stackato so needs to be pulled out at some stage