Hello Ben, On what environment did you try it?
On Nov 27, 5:09 pm, Ben Finney <ben+pyt...@benfinney.id.au> wrote: > rambius <rambiusparkisan...@gmail.com> writes: > > When I run this program the logger statement after 'import optparse' > > does not appear. The first logger statement before optparse does > > appear. Has anyone experienced similar behaviour? > > I use the same config file (from your first message) and your shorter > program, and I see this output: > > ===== > test : CRITICAL test1 > test : CRITICAL test2 > ===== > This is so strange. If I import optparse outside of main() it works. If I import it between the two logging statement, the second one does not appear. Regards Rambius -- http://mail.python.org/mailman/listinfo/python-list