| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@996393 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Log4jMessageLogger may use this to allow individual on/off toggling of each status message. Combine the RootLogger and RawLogger interfaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@989734 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
utilise the same functionality.
To enable generation for your plugin just add :
<target name="precompile" depends="gen_logging"/>
to your build.xml
Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class.
Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info.
Updated ConfigStore and Transaction Log to use named properties rather than numeric values.
If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent
clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954432 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
_logmessages.property file.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954431 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
3-Digit LoggingClasses and use that as the basis for generation. Expose LogSubjects from Queue and Session.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950635 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
MessageFormat for each log message as re-using a static formatter is not thread safe. The gap between applyPattern() and format() gives another thread the chance to change the pattern.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@898821 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@886842 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@829675 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
replacement is performed. Encountered a problem creating Binding Tests where the brackets '[]' logged by the messsage caused the option removal to fail. Performing the removal before formatting will remove this problem.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801724 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
excluded due to QPID-2031. An update to the LogMessages.vm templates and ApplicationRegistry was requried. This is because BrokerMessages is loaded before the ApplicationRegistry is initialised. As a result the NullApplicationRegistry is created which should not be used. The AR is loaded to discover the current Locale. There were a couple of options here. Either always use the Default Locale and have the AR loading set that or add the ability to check if the AR has been configured. I chose the latter as knowing if an AR exists may be useful for our testing framework.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801575 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
of message creation.
Messages that do not need a message formatter now nolonger use the message formater.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800358 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Update to improve formatting of generated code
Inclusion of more documentation
Defaulted generation to use US locale
Removed duplicate messages in MST that were added to while the option solution was being discussed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@797421 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
QPID-2001 : Added documentation and replaced Integer with Number.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@797048 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
Template to generate static <Type>Messages classes that can be used for compile time vaildation of logging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@796800 13f79535-47bb-0310-9956-ffa450edef68
|