removed old sample plugin and fixed build sample
tweaked logging calls