Revert "fixing foodcritic issues"

This reverts commit fa98b6aec122de6f2c523edc727f4a04e631a504.
better log resource name
removing unnecessary string interpolation