text: Title: [Jobs] Refactor jobs logs from backend to jobs lib
  Body: <!-- Describe the bug report / feature request here -->
  
  Like #4046, to reduce the complexity of our backend, we should refactor jobs(spot) logs to jobs lib as well.
  