Added logging support (logging gem)