@MessageLogger(projectCode="JBAS")
public interface MessagingLogger
extends org.jboss.logging.BasicLogger
Modifier and Type | Field and Description |
---|---|
static MessagingLogger |
MESSAGING_LOGGER
A logger with the category
org.jboss.messaging . |
static MessagingLogger |
ROOT_LOGGER
The logger with the category of the package.
|
Modifier and Type | Method and Description |
---|---|
void |
aioWarning()
Logs a warning message indicating AIO was not found.
|
void |
boundJndiName(String jndiName)
Logs an informational message indicating a messaging object was bound to the JNDI name represented by the
jndiName parameter. |
void |
canNotChangeClusteredAttribute(PathAddress address)
Logs a warning message indicating the clustered attribute can not be set to false since the
hornetq-server at the given
address is clustered (because it has cluster-connections children resources). |
void |
couldNotCloseFile(String file,
Throwable cause) |
void |
deprecatedAttribute(String name,
PathAddress address)
Logs a warning message indicating the management attribute with the given
name
is deprecated and will not be used anymore. |
void |
deprecatedXMLAttribute(String name)
Logs a warning message indicating the XML attribute with the given
name
is deprecated and will not be used anymore. |
void |
deprecatedXMLElement(String name)
Logs a warning message indicating the XML element with the given
name
is deprecated and will not be used anymore. |
void |
errorStoppingJmsServer(Throwable cause)
Logs an error message indicating an exception occurred while stopping the JMS server.
|
void |
failedToDestroy(String description,
String name)
Logs a warning message indicating the connection factory was not destroyed.
|
void |
failedToDestroy(Throwable cause,
String description,
String name)
Logs a warning message indicating the connection factory was not destroyed.
|
void |
failedToUnbindJndiName(String jndiName,
long timeout,
String timeUnit)
Logs a warning message indicating the messaging object bound to the JNDI name represented by
the {@code jndiName) has not be unbound in a timely fashion.
|
void |
revertOperationFailed(Throwable cause,
String className,
String operation,
PathAddress address)
Logs an error message indicating the class, represented by the
className parameter, caught an exception
attempting to revert the operation, represented by the operation parameter, at the address, represented
by the address parameter. |
void |
startedService(String type,
String name)
Logs an info message when a service for the given
type and name is started. |
void |
stoppedService(String type,
String name)
Logs an info message when a service for the given
type and name is stopped. |
void |
unboundJndiName(String jndiName)
Logs an informational message indicating a messaging object was unbound from the JNDI name represented by the
jndiName parameter. |
void |
unknownPooledConnectionFactoryAttribute(String name) |
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
static final MessagingLogger ROOT_LOGGER
static final MessagingLogger MESSAGING_LOGGER
org.jboss.messaging
.@LogMessage(level=WARN) @Message(id=11600, value="AIO wasn\'t located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal") void aioWarning()
@LogMessage(level=INFO) @Message(id=11601, value="Bound messaging object to jndi name %s") void boundJndiName(String jndiName)
jndiName
parameter.jndiName
- the name the messaging object was bound to.@LogMessage(level=ERROR) @Message(id=11602, value="Exception while stopping JMS server") void errorStoppingJmsServer(@Cause Throwable cause)
cause
- the cause of the error.@LogMessage(level=WARN) @Message(id=11603, value="Failed to destroy %s: %s") void failedToDestroy(@Cause Throwable cause, String description, String name)
cause
- the cause of the error.description
- the description of what failed to get destroyed.name
- the name of the factory.@LogMessage(level=WARN) void failedToDestroy(String description, String name)
description
- the description of what failed to get destroyed.name
- the name of the factory.@LogMessage(level=ERROR) @Message(id=11604, value="%s caught exception attempting to revert operation %s at address %s") void revertOperationFailed(@Cause Throwable cause, String className, String operation, PathAddress address)
className
parameter, caught an exception
attempting to revert the operation, represented by the operation
parameter, at the address, represented
by the address
parameter.cause
- the cause of the error.className
- the name of the class that caused the error.operation
- the operation.address
- the address.@LogMessage(level=INFO) @Message(id=11605, value="Unbound messaging object to jndi name %s") void unboundJndiName(String jndiName)
jndiName
parameter.jndiName
- the name the messaging object was bound to.@LogMessage(level=ERROR) @Message(id=11606, value="Could not close file %s") void couldNotCloseFile(String file, @Cause Throwable cause)
@LogMessage(level=WARN) @Message(id=11607, value="Failed to unbind messaging object bound to jndi name %s in %d %s") void failedToUnbindJndiName(String jndiName, long timeout, String timeUnit)
jndiName
- the name the messaging object was bound to.timeout
- the timeout valuetimeUnit
- the timeout time unit@LogMessage(level=WARN) @Message(id=11608, value="Element %s is deprecated and will not be taken into account") void deprecatedXMLElement(String name)
name
is deprecated and will not be used anymore.name
- the name of the deprecated XML element@LogMessage(level=WARN) @Message(id=11609, value="Attribute %s is deprecated and will not be taken into account") void deprecatedXMLAttribute(String name)
name
is deprecated and will not be used anymore.name
- the name of the deprecated XML attribute@LogMessage(level=INFO) @Message(id=11610, value="Started %s %s") void startedService(String type, String name)
type
and name
is started.type
- the type of the servicename
- the name of the service@LogMessage(level=INFO) @Message(id=11611, value="Stopped %s %s") void stoppedService(String type, String name)
type
and name
is stopped.type
- the type of the servicename
- the name of the service@LogMessage(level=WARN) @Message(id=11612, value="Attribute %s of the resource at %s is deprecated and setting its value will not be taken into account") void deprecatedAttribute(String name, PathAddress address)
name
is deprecated and will not be used anymore.name
- the name of the deprecated XML attribute@LogMessage(level=WARN) @Message(id=11613, value="Can not change the clustered attribute to false: The hornetq-server resource at %s has cluster-connection children resources and will remain clustered.") void canNotChangeClusteredAttribute(PathAddress address)
address
is clustered (because it has cluster-connections children resources).address
- the path address of the hornetq server.@LogMessage(level=WARN) @Message(id=11614, value="Ignoring %s property that is not a known property for pooled connection factory.") void unknownPooledConnectionFactoryAttribute(String name)
Copyright © 2013 JBoss by Red Hat. All rights reserved.