Pop the proper key name.
Granular levels show also be set when setting up the console logger.

When configuring the log file logging this same operation will be executed again, but it's not an expensive operation.
Improved variable naming.
Merge pull request #5690 from s0undt3ch/develop

Some logging fixes/additions