It seems it does be needed.
Even with a 0 in there, I am still seeing logs generated
I will try adding your code.