Adding log level change API