I would advise you to use syslog for this kind of thing. or are you saying you want to see it in the local log of the switch itslef. in which case you would neeed to apply the appropriate logging level
Please remember to rate useful posts, by clicking on the stars below.