Changing the dimension prints a debug message in the log, for example
[Server thread/INFO]: [STDOUT]: from = OVERWORLD [Server thread/INFO]: [STDOUT]: to = NETHER [Server thread/INFO]: [STDOUT]: to = THE_END
This appears to be caused by the changed_dimension advancement trigger.