Here is the command to enable the logging of messages generated when a BGP neighbor resets, comes up, or goes down. Apply below command on router configuration mode.
Router# config t
Router(config)#router bgp 65334
Router(config-router)#bgp log-neighbor-changes
** AS 65334 is just for example.