title: How to logging python script log into Google stackdriver logging running on a Google Cloud VM
body: <p>I am using a Google Cloud virtual machine to run  my python scripts scheduled on a cron, I am looking for some way to check the script logs and also to add my script running log into google stackdriver logging</p>
  
  <p>is there anyway to add python script log into google stackdriver logging rather appending into log file in compute engine .What are the usual approaches for such things? Please suggest.</p>
  
  <ul>
  <li><ul>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>/usr/bin/python /home/parida_srikanta/test.py >> logs.log 2>&amp;1</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>BR/
  SRIKANTA</p>