Hi...
I have a question about Glassfish logging features.
Suppose I have to enterprise applications deployed under the same
domain: sample-enterprise-1.0.ear and sample-enterprise-1.1.ear.
They are the same application except that version 1.1 had some bug
fixes, for example. In particular contexts, it is desirable to run both
applications in parallel to phase the new version in.
Is there a way to segregate the logs for these two applications somehow?
Here is a sample of a log entry generated by the application:
[#|2007-10-02T11:23:40.532-0500|FINEST|sun-appserver9.1|com.localmatters.flexiq.collector.producer.ProducerWS|_ThreadID=28;_ThreadName=httpSSLWorkerThread-11080-2;ClassName=com.localmatters.flexiq.
collector.producer.ProducerWS;MethodName=send;_RequestID=916d031b-fb8c-47dc-bfae-ce2fea52da36;|Validating
message.|#]
From it, there is no way to know whether it came from version 1.0 or
1.1. Would there be a way to add a field or marker to identify the version?
For example,
[#|2007-10-02T11:23:40.532-0500|FINEST|sun-appserver9.1|com.localmatters.flexiq.collector.producer.ProducerWS|*Version=1.1*;_ThreadID=28;_ThreadName=httpSSLWorkerThread-11080-2;ClassName=com.localmatters.flexiq.
collector.producer.ProducerWS;MethodName=send;_RequestID=916d031b-fb8c-47dc-bfae-ce2fea52da36;|Validating
message.|#]
or
[#|2007-10-02T11:23:40.532-0500|FINEST|sun-appserver9.1|com.localmatters.flexiq.collector.producer.ProducerWS|*Version=1.1*|_ThreadID=28;_ThreadName=httpSSLWorkerThread-11080-2;ClassName=com.localmatters.flexiq.
collector.producer.ProducerWS;MethodName=send;_RequestID=916d031b-fb8c-47dc-bfae-ce2fea52da36;|Validating
message.|#]
thanks,
Daniel.