On Tue, Sep 13, 2016 at 2:12 AM, Josh English
wrote:
>> > Even more mysterious, after I run the file (in an IDE so I have a REPL
>> > afterwards), I have:
>>
>> Don't run your code in an IDE. The interaction between your and their code
>> can make debugging harder than necessary.
>
> I suspect the
On Friday, September 9, 2016 at 11:31:13 AM UTC-7, Peter Otten wrote:
> Josh English wrote:
>
> >
> > LOG = logging.getLogger('SHIPPING')
> > FORMAT = '%(asctime)-15s %(name)s %(level)-8s %(message)s'
>
> That should be either levelname or levelno in the format string.
Yeah, I caught that after
On Friday, September 9, 2016 at 11:29:32 AM UTC-7, John Gordon wrote:
> In <247db0ab-efe7-484b-a418-dd219f68a...@googlegroups.com> Josh English
> writes:
>
> > When I run the scriptI get logging information from only xlreader, not
> > from the main script:
>
> > DEBUG:XLREADER:Creating Excel Re
Josh English writes:
> I have a Python script that imports a utility script. Both scripts use
> logging, but the logs don't work as advertised. I'm getting logging output
> from the utility script but none from the main file. Worse, the format of the
> utility script's logs don't match anything
Josh English wrote:
> I have a Python script that imports a utility script. Both scripts use
> logging, but the logs don't work as advertised. I'm getting logging output
> from the utility script but none from the main file. Worse, the format of
> the utility script's logs don't match anything I d
In <247db0ab-efe7-484b-a418-dd219f68a...@googlegroups.com> Josh English
writes:
> When I run the scriptI get logging information from only xlreader, not
> from the main script:
> DEBUG:XLREADER:Creating Excel Reader
> This format isn't defined anywhere.
That is the default logging format; it'
I have a Python script that imports a utility script. Both scripts use logging,
but the logs don't work as advertised. I'm getting logging output from the
utility script but none from the main file. Worse, the format of the utility
script's logs don't match anything I define.
The utility script