Got it. I had to set the minimum level, in the basic config, thus:
logging.basicConfig( filename = "whatthe.log", level=logging.INFO )
All set, thanks for the tip.
Regards,
DC
On Thu, Mar 26, 2020 at 5:35 PM Cameron Simpson wrote:
> On 26Mar2020 14:02, dcwhat...@gmail.com wrote:
> >Wh
Cameron, thanks. I read something similar elsewhere, but I don't
understand what levels to set, and how many times.
Are we saying that we execute
root_logger = logging.getLogger()
root_logger.setLevel(1) #Or some other level
, prior to running
logging.basicConfig(...),
for each typ
I probably won't need to do that, in this case. But good advice, in other
contexts ; I'll put it in the pim, for further reference, thanks.
On Fri, Mar 27, 2020 at 7:09 PM Cameron Simpson
wrote:
> On 27Mar2020 16:18, Dan Campbell wrote:
> >Got it. I had to set the mi
Hi, what range of error codes are recommended, if we wanted to return a
user-defined code?
Obviously, we don't want to use a code in the 200+ range, or the 400+ range,
e.g.
I want to throw, or just return, a code that represents that the size of a web
page (len(response.content)) is less than
On Thursday, April 30, 2020 at 4:42:41 PM UTC-4, Ed Leafe wrote:
> On Apr 30, 2020, at 15:14, dc wrote:
> >
> > Hi, what range of error codes are recommended, if we wanted to return a
> > user-defined code?
> >
> > Obviously, we don't want to use a code in the 200+ range, or the 400+
> > range,