Logs changing of variables from command line.
Added a level parameter to the initLogger function.
Revamped the logging initializer so you can actually set different log levels.