All interface link status (up/down) messages are logged by default. Link status eventscan be configured globally or per interface. The interfacecommand enables link status logging messages for a specific interface.
Por ejemplo:
N7k(configuración)#interface ethernet x/x N7k(config-if)#logging event port link-status