Give the proper value for the logging level since even 0 is the correct value coming from GUI.