Removed unused variable, use static variable to hold log tag.