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.
Par exemple:
N7k(configurer)#interface ethernet x/x N7k(config-si)#logging event port link-status