using R logging package