fix undefined variable on logs
Merge pull request #2 from KLabCyscorpions/v1.0.0/2479

fix undefined variable on logs