All interface link status (up/down) messages are logged by default. Link status events can be configured globally or per interface. The interface command 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