rstp logging

Who knows how to log changes in role of ports of bridge, when it has been configured with rstp?
It’s to log changes between alternate port and root port of ethernet network.