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