=act #15488 add @volatile on logLevel

This PR fixes the memory visibility issue introduced in #15488.

Summary:
* made `logLevel` @volatile
* Perf benchmark and results are attached.

Please review @viktorklang
Just take it easy, it takes time to develop the scars that guide the intuition for these type of things. You'll get there soon enough :)