@bitprophet yeah I want one. And I don't even wear a watch #selfloathing
Entries for #in
← first ← previous page 9 of 22 next → last →
@scalzi I would like to join a @scalzi early-access program. I will pay $ extra to simply be sent anything you write #ihatewaiting
@lmorchard somehow knowing you're hacking EVE market data makes you even cooler to this nerd #nerds #internetspaceships
HAVE FUN NOW: Weird Al sells copies of songs he parodies for sure #radioactive #inactive #mandatoryfun
Easy way to temporarily kill logging in Python
Ever want to just turn off that logger for a while in Python? Maybe while running tests or debugging? Even the CRITICAL messages?
Notice that the logging level contants (logging.DEBUG etc) actually represent numeric values:
Level Numeric value
CRITICAL 50
ERROR 40
WARNING 30
INFO 20
DEBUG 10
NOTSET 0
On a whim I tried:
logging.getLogger('logger_to_turn_off').setLevel(100)
And bam, no logging, even the CRITICAL messages. Yes, most of you python nerds knew this, but I didn't, so I learned something at least!
Ever want to fly internet spaceships in the biggest universe around? EVE is expanding in mere weeks. https://t.co/KrThsanE4r #eveonline
I'll be honest: I appreciate drama but don't really grasp the obsession with violent murdering criminals as heroes #sopranos #breakingbad
@Gawker @strategiclee I wish people would be up front about the "unarmed/inert" part of that story #badheadlines
← first ← previous page 9 of 22 next → last →