Python Forum
module logging posting randomly
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
module logging posting randomly
#1
Hello,
I am writing a program with a lot of print() so I use the module logging for debugging purposes. The problem is that when I put logging.debug('some text') in the code, it dumps debugging information when it feels like instead of when it is supposed happen in the code, like a print. How to get my logging behave like a print?
Reply


Messages In This Thread
module logging posting randomly - by DJ_Qu - May-14-2019, 03:48 AM
RE: module logging posting randomly - by buran - May-14-2019, 04:29 AM
RE: module logging posting randomly - by DJ_Qu - May-14-2019, 06:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pyaudio seems to randomly halt input. elpidiovaldez5 2 390 Jan-22-2024, 09:07 AM
Last Post: elpidiovaldez5
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 640 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  Python loop for posting data to web marciokoko 10 1,560 Aug-26-2023, 02:17 AM
Last Post: deanhystad
  how to take a screnshot by Pyautogui automatically and randomly rachidel07 0 3,560 Feb-03-2021, 01:16 PM
Last Post: rachidel07
  Problem posting image to clipboard noel 0 2,175 Sep-26-2020, 10:50 AM
Last Post: noel
  logging: child module unable to get parent config jerryxiao 3 3,383 Apr-09-2019, 04:17 AM
Last Post: jerryxiao
  Can I search from Python, automatically and randomly generated keywords in Google? xX_Prophit_Xx 0 2,313 Sep-07-2018, 04:43 PM
Last Post: xX_Prophit_Xx
  Python seems to be randomly blowing up parmort 6 3,277 Aug-22-2018, 09:47 PM
Last Post: parmort
  Posting zip file on HTTP network using Python2.7 deepti92 1 6,799 May-15-2018, 12:41 PM
Last Post: deepti92
  Randomly changing numbers NicoConti 4 3,431 Mar-27-2018, 03:07 PM
Last Post: NicoConti

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020