updated chainloader to use logger, updated logger to allow a GlobalLogLevel
merged in updated logger scheme for globalloglevel