Feb-28-2022, 04:42 PM
(This post was last modified: Feb-28-2022, 05:20 PM by deanhystad.)
I am confused. In our test you used the global variable "i" and you incremented it like htis:
Why do you expect "i" to change if you don't change it? Somewhere you will need an obj.i += 1 where obj is an instance of ContextFilter/
i += 1; logger.info("I am INFO 0")In log_format.py you changed "i" to an instance variable and you stop incrementing it.
Why do you expect "i" to change if you don't change it? Somewhere you will need an obj.i += 1 where obj is an instance of ContextFilter/