@MessageLogger(projectCode="JBAS")
public interface LoggingLogger
extends org.jboss.logging.BasicLogger
Modifier and Type | Field and Description |
---|---|
static LoggingLogger |
ROOT_LOGGER
A root logger with the category of the package name.
|
Modifier and Type | Method and Description |
---|---|
void |
errorSettingProperty(Throwable cause,
String propertyName,
String className)
Logs a warning message indicating an error occurred trying to set the property, represented by the
propertyName parameter, on the handler class, represented by the className parameter. |
void |
failedToCloseResource(Throwable cause,
Closeable closeable)
Logs an error message indicating to failure to close the resource represented by the
closeable
parameter. |
void |
filterNotSupported()
Logs a warning message indicating filters are not currently supported for log4j appenders.
|
void |
invalidPropertyAttribute(String name)
Logs a warning message indicating the attribute, represented by the
name parameter, is not a
configurable property value. |
void |
julConfigurationFileFound(String fileName)
Logs a warning message indicating the configuration file found appears to be a
J.U.L. configuration file and the log manager does not allow this configuration. |
void |
logContextNotRemoved(org.jboss.logmanager.LogContext logContext,
String deploymentName)
Logs an error message indicating the
log context associated with the
deployment could not be removed from the log context selector . |
void |
loggingProfileNotFound(String loggingProfile,
ResourceRoot deployment)
Logs a warning message indicating the deployment specified a logging profile, but the logging profile was not
found.
|
void |
pathManagerServiceNotStarted()
Logs a warning message indicating the path manager service has not been started and any changes may be lost as a
result of this.
|
void |
perDeploymentPropertyDeprecated(String propertyName,
String attributeName)
Deprecated.
will be removed when the
LoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGING
is removed |
void |
perLoggingDeploymentIgnored(String propertyName,
String attributeName,
String deploymentName)
Deprecated.
will be removed when the
LoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGING
is removed |
void |
replacingConfigurator(org.jboss.logmanager.Configurator c)
Logs a warning message indicating the configurator class is an unknown type and will be replaced.
|
void |
replacingNamedHandler(String name)
Logs a warning message indicating the handler is being replaced due to a different type or module name.
|
void |
unknownProperty(String propertyName,
String className)
Logs a warning message indicating an unknown property, represented by the
propertyName parameter, for
the class represented by the className parameter. |
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 LoggingLogger ROOT_LOGGER
@LogMessage(level=WARN) @Message(id=11501, value="An error occurred trying to set the property \'%s\' on handler \'%s\'.") void errorSettingProperty(@Cause Throwable cause, String propertyName, String className)
propertyName
parameter, on the handler class, represented by the className
parameter.cause
- the cause of the error.propertyName
- the name of the property.className
- the name of the class.@LogMessage(level=WARN) @Message(id=11504, value="Unknown property \'%s\' for \'%s\'.") void unknownProperty(String propertyName, String className)
propertyName
parameter, for
the class represented by the className
parameter.propertyName
- the name of the property.className
- the name of the class.@LogMessage(level=ERROR) @Message(id=11505, value="Failed to close resource %s") void failedToCloseResource(@Cause Throwable cause, Closeable closeable)
closeable
parameter.cause
- the cause of the errorcloseable
- the resource@LogMessage(level=WARN) @Message(id=11506, value="The attribute %s could not be set as it is not a configurable property value.") void invalidPropertyAttribute(String name)
name
parameter, is not a
configurable property value.name
- the name of the attribute@LogMessage(level=WARN) @Message(id=11507, value="The path manager service does not appear to be started. Any changes may be lost as a result of this.") void pathManagerServiceNotStarted()
logging.properties
could not be written out and until the changes may have
been lost unless they were written to the logging subsystem in the XML configuration.@LogMessage(level=WARN) @Message(id=11508, value="Filters are not currently supported for log4j appenders.") void filterNotSupported()
@LogMessage(level=WARN) @Message(id=11509, value="Logging profile \'%s\' was specified for deployment \'%s\' but was not found. Using system logging configuration.") void loggingProfileNotFound(String loggingProfile, ResourceRoot deployment)
loggingProfile
- the logging profile that was not founddeployment
- the deployment that specified the logging profile@LogMessage(level=WARN) @Message(id=11510, value="The configuration file in \'%s\' appears to be a J.U.L. configuration file. The log manager does not allow this type of configuration file.") void julConfigurationFileFound(String fileName)
J.U.L.
configuration file and the log manager does not allow this configuration.fileName
- the configuration file name@LogMessage(level=WARN) @Message(id=11511, value="Replacing handler \'%s\' during add operation. Either the handler type or the module name differs from the initial configuration.") void replacingNamedHandler(String name)
name
- the name of the handler@LogMessage(level=WARN) @Message(id=11512, value="A configurator class, \'%s\', is not a known configurator and will be replaced.") void replacingConfigurator(@Transform(value=GET_CLASS) org.jboss.logmanager.Configurator c)
c
- the class that is being replaced@LogMessage(level=ERROR) @Message(id=11513, value="The log context (%s) could not be removed for deployment %s") void logContextNotRemoved(org.jboss.logmanager.LogContext logContext, String deploymentName)
log context
associated with the
deployment could not be removed from the log context selector
.logContext
- the log context that could not be removeddeploymentName
- the name of the deployment@Deprecated @LogMessage(level=WARN) @Message(id=11514, value="The per-logging deployment property (%s) has been deprecated. Please use the %s attribute to enable/disable per-deployment logging.") void perDeploymentPropertyDeprecated(String propertyName, String attributeName)
LoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGING
is removedpropertyName
- the per-deployment property nameattributeName
- the name of the new attribute@Deprecated @LogMessage(level=WARN) @Message(id=11515, value="The per-logging deployment property (%s) is being ignored because the attribute %s has been set to ignore configuration files in the deployment %s.") void perLoggingDeploymentIgnored(String propertyName, String attributeName, String deploymentName)
LoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGING
is removedpropertyName
- the per-deployment property nameattributeName
- the name of the new attributedeploymentName
- the name of the deploymentCopyright © 2015 JBoss by Red Hat. All rights reserved.