The log says GMS trigger node join but the code is called every time an event (comp arrive, node arrive) comes in, not just once when the node joins. It is not neccessary to print it in default log serverity setting to make confusing. However it is valuable for debug. Change its serverity to CL_LOG_SEV_DEBUG.