Wait for application to start before trying to pull logs