Add INFO macro for output instead of direct printf calls
Add DEBUG macro for output in debug configuration only
Remove unnecessary comparison operation
Show successful attribute change confirmation message