Python Log System Implementation