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.
Per esempio:
N7k(config)#interface ethernet x/x N7k(config-se)#logging event port link-status