Logger Python Example Code