I see that the server.log of 3.1.1 still logging "glassfish3.1" as product id in log-record.
[Though it is logged as 3.1.1-SNAPSHOT in server startup message of server.log]
[#|2011-06-23T02:28:23.792+0530|INFO|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=34;_ThreadName=Thread-2;|MQJMSRA_RA1101: GlassFish MQ JMS Resource Adapter stopping...|#]
It seems to be due to the fact that we do not consider "update_version" flag while constructing the "product-id"
Refer : com.sun.enterprise.server.logging.UniformLogFormatter.getProductId()
whenever the update_version is "0", we can ignore it and if it is non-zero we can use it.