@MessageLogger(projectCode="WFLYLOG",
length=4)
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 |
|---|---|
String |
cannotAddHandlerToSelf(String handlerName)
A message indicating the handler cannot be attached to itself.
|
IllegalArgumentException |
cannotLoadModule(Throwable cause,
String moduleName,
String description,
String name)
Creates an exception indicating a failure to load the module.
|
UnsupportedOperationException |
cannotRegisterResourceOfType(String childType)
Create a failure description message indicating that the resource of given type can not be registered.
|
UnsupportedOperationException |
cannotRemoveResourceOfType(String childType)
Create a failure description message indicating that the resource of given type can not be removed.
|
String |
classNotFound(Throwable cause,
String className)
Creates an exception indicating the class, represented by the
className parameter, could not be found. |
IllegalArgumentException |
deploymentNameNotFound(PathAddress address)
Creates an exception indicating the deployment name was not found on the address.
|
void |
errorDeterminingChildrenExist(Throwable cause,
String childType)
Logs an error message indicating a failure to determine if a child resource exists.
|
void |
errorProcessingLogDirectory(String logDir) |
DeploymentUnitProcessingException |
errorProcessingLoggingConfiguration(Throwable cause)
Creates an exception indicating an error occurred while searching for logging configuration files.
|
IllegalArgumentException |
expected(String token)
Creates an exception indicating the token was expected next in the filter expression.
|
IllegalArgumentException |
expected(String trueToken,
String falseToken)
Creates an exception indicating the one or the other tokens was expected next in the filter expression.
|
IllegalArgumentException |
expectedIdentifier()
Creates an exception indicating an identifier was expected next in the filter expression.
|
IllegalArgumentException |
expectedString()
Creates an exception indicating a string was expected next in the filter expression.
|
IllegalStateException |
extensionNotInitialized()
Logs a warning message indicating the
LogManager is required and the logging
subsystem was not initialized. |
void |
failedToCloseResource(Throwable cause,
Closeable closeable)
Logs an error message indicating to failure to close the resource represented by the
closeable
parameter. |
DeploymentUnitProcessingException |
failedToConfigureLogging(Throwable cause,
String fileName)
Creates an exception indicating a failure to configure logging with the configuration file represented by the
fileName parameter. |
RuntimeException |
failedToReadLogFile(Throwable cause,
String name)
Creates an exception indicating a failure to read the log file.
|
RuntimeException |
failedToWriteConfigurationFile(Throwable e,
File fileName)
A message indicating a failure to write the configuration file.
|
IllegalArgumentException |
filterNotFound(String name)
Creates an exception indicating the filter could not be found.
|
String |
formatterNotFound(String name)
Creates an exception indicating the formatter could not be found.
|
String |
handlerAlreadyDefined(String name)
A message indicating the handler, represented by the
name parameter, is already assigned. |
OperationFailedException |
handlerAttachedToHandlers(String handlerName,
Collection<String> handlers)
A message indicating the handler is attached to the handlers.
|
OperationFailedException |
handlerAttachedToLoggers(String handlerName,
Collection<String> loggers)
A message indicating the handler is attached to the loggers.
|
IllegalStateException |
handlerClosed()
An exception indicating a handler has been closed.
|
String |
handlerConfigurationNotFound(String name)
A message indicating the handler configuration could not be found.
|
IllegalArgumentException |
invalidEscapeFoundInFilterExpression()
Creates an exception indicating an invalid escape was found in the filter expression string.
|
String |
invalidFilter(String name)
A message indicating the filter is invalid.
|
OperationFailedException |
invalidLogFile(String path)
Creates an exception indicating the path is a directory and cannot be used as a log file.
|
String |
invalidLogLevel(String level)
A message indicating the log level, represented by the
level parameter, is invalid. |
String |
invalidOverflowAction(String overflowAction)
A message indicating the overflow action, represented by the
overflowAction parameter, is invalid. |
void |
invalidPropertyAttribute(String name)
Logs a warning message indicating the attribute, represented by the
name parameter, is not a
configurable property value. |
String |
invalidRelativeTo(String relativeTo)
A message indicating an absolute path cannot be specified for relative-to.
|
String |
invalidSize(String size)
A message indicating the size is invalid.
|
String |
invalidSuffix(String suffix)
A message indicating a suffix is invalid.
|
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. |
Resource.NoSuchResourceException |
logFileNotFound(String name,
String directoryProperty)
Creates an exception indicating the file was found in the log directory.
|
String |
loggerConfigurationNotFound(String name)
A message indicating the logger configuration could not be found.
|
String |
loggerNotFound(String name)
A message indicating the logger, represented by the
name parameter was not found. |
void |
loggingProfileNotFound(String loggingProfile,
ResourceRoot deployment)
Logs a warning message indicating the deployment specified a logging profile, but the logging profile was not
found.
|
String |
pathManagerServiceNotStarted() |
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 |
OperationFailedException |
readNotAllowed(String name)
Creates an exception indicating the user cannot read the file.
|
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.
|
String |
suffixContainsMillis(String suffix)
A message indicating a suffix contains seconds or milliseconds and the handler does not allow it.
|
IllegalArgumentException |
truncatedFilterExpression()
Creates an exception indicating the filter expression string is truncated.
|
IllegalArgumentException |
unexpectedEnd()
Creates an exception indicating an unexpected end of the filter expression.
|
void |
unknownLogManager(String logManagerName)
Logs a warning message indicating the log manager does not appear to the
LogManager. |
void |
unresolvablePathExpressions(Set<String> unresolvableExpressions)
Logs a warning message indicating all the path expressions that could not be resolved while attempting to
determine which log files are available to be read.
|
UnsupportedOperationException |
unsupportedMethod(String methodName,
String className)
Creates an exception indicating the method on the class is not supported.
|
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, 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, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, 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, warnvstatic final LoggingLogger ROOT_LOGGER
@LogMessage(level=ERROR)
@Message(id=6,
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=7,
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@Message(id=8,
value="The path manager service does not appear to be started. Any changes may be lost as a result of this.")
String pathManagerServiceNotStarted()
@LogMessage(level=WARN)
@Message(id=10,
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=11,
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=12,
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=13,
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=14,
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=15, 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=16, 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 deployment@Message(id=19,
value="Failed to load module \'%s\' for %s \'%s\'")
IllegalArgumentException cannotLoadModule(@Cause
Throwable cause,
String moduleName,
String description,
String name)
cause - the cause of the errormoduleName - the name of the module that could not be loadeddescription - a descriptionname - the name of the configurationIllegalArgumentException for the error@Message(id=21,
value="Class \'%s\' could not be found.")
String classNotFound(@Cause
Throwable cause,
String className)
className parameter, could not be found.cause - the cause of the error.className - the name of the class that could not be found.@Message(id=23,
value="Handler %s is already assigned.")
String handlerAlreadyDefined(String name)
name parameter, is already assigned.name - the handler name.@Message(id=25,
value="Filter %s is invalid")
String invalidFilter(String name)
name - the name of the filter.@Message(id=26,
value="Log level %s is invalid.")
String invalidLogLevel(String level)
level parameter, is invalid.level - the invalid level.@Message(id=27,
value="Overflow action %s is invalid.")
String invalidOverflowAction(String overflowAction)
overflowAction parameter, is invalid.overflowAction - the invalid overflow action.@Message(id=28,
value="Invalid size %s")
String invalidSize(String size)
size - the size.@Message(id=35,
value="Logger \'%s\' was not found.")
String loggerNotFound(String name)
name parameter was not found.name - the name of the missing logger.@Message(id=39,
value="An absolute path (%s) cannot be specified for relative-to.")
String invalidRelativeTo(String relativeTo)
relativeTo - the invalid absolute path.@Message(id=41,
value="The suffix (%s) is invalid. A suffix must be a valid date format.")
String invalidSuffix(String suffix)
suffix - the suffix.@Message(id=42,
value="Failed to configure logging using \'%s\' configuration file.")
DeploymentUnitProcessingException failedToConfigureLogging(@Cause
Throwable cause,
String fileName)
fileName parameter.cause - the cause of the error.fileName - the configuration file name.DeploymentUnitProcessingException for the error.@Message(id=43,
value="Error occurred while searching for logging configuration files.")
DeploymentUnitProcessingException errorProcessingLoggingConfiguration(@Cause
Throwable cause)
cause - the cause of the error.DeploymentUnitProcessingException for the error.@Message(id=44,
value="Handler %s is attached to the following handlers and cannot be removed; %s")
OperationFailedException handlerAttachedToHandlers(String handlerName,
Collection<String> handlers)
handlerName - the name of tha attached handler.handlers - a collection of the handler names.@Message(id=45,
value="Handler %s is attached to the following loggers and cannot be removed; %s")
OperationFailedException handlerAttachedToLoggers(String handlerName,
Collection<String> loggers)
handlerName - the name of tha attached handler.loggers - a collection of the logger names.@Message(id=46,
value="Cannot add handler (%s) to itself")
String cannotAddHandlerToSelf(String handlerName)
handlerName - the name of the handler@Message(id=47,
value="The handler is closed, cannot publish to a closed handler")
IllegalStateException handlerClosed()
IllegalStateException for the error@Message(id=48,
value="Configuration for handler \'%s\' could not be found.")
String handlerConfigurationNotFound(String name)
name - the name of the handler@Message(id=49,
value="Configuration for logger \'%s\' could not be found.")
String loggerConfigurationNotFound(String name)
name - the name of the logger@Message(id=50,
value="Method %s on class %s is not supported")
UnsupportedOperationException unsupportedMethod(String methodName,
String className)
methodName - the name of the methodclassName - the name of the classUnsupportedOperationException for the error@Message(id=51,
value="Failed to write configuration file %s")
RuntimeException failedToWriteConfigurationFile(@Cause
Throwable e,
File fileName)
fileName - the name of the file@Message(id=61,
value="Formatter \'%s\' is not found")
String formatterNotFound(String name)
name - the name of the formatterIllegalArgumentException for the error@Message(id=70,
value="Truncated filter expression string")
IllegalArgumentException truncatedFilterExpression()
IllegalArgumentException for the error@Message(id=71,
value="Invalid escape found in filter expression string")
IllegalArgumentException invalidEscapeFoundInFilterExpression()
IllegalArgumentException for the error@Message(id=72,
value="Filter \'%s\' is not found")
IllegalArgumentException filterNotFound(String name)
name - the name of the filterIllegalArgumentException for the error@Message(id=73,
value="Expected identifier next in filter expression")
IllegalArgumentException expectedIdentifier()
IllegalArgumentException for the error@Message(id=74,
value="Expected string next in filter expression")
IllegalArgumentException expectedString()
IllegalArgumentException for the error@Message(id=75,
value="Expected \'%s\' next in filter expression")
IllegalArgumentException expected(String token)
token - the token expectedIllegalArgumentException for the error@Message(id=-1,
value="Expected \'%s\' or \'%s\' next in filter expression")
IllegalArgumentException expected(String trueToken,
String falseToken)
trueToken - the true tokenfalseToken - the false tokenIllegalArgumentException for the error@Message(id=76,
value="Unexpected end of filter expression")
IllegalArgumentException unexpectedEnd()
IllegalArgumentException for the error@Message(id=78,
value="The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property \"java.util.logging.manager\" and set it to \"org.jboss.logmanager.LogManager\"")
IllegalStateException extensionNotInitialized()
LogManager is required and the logging
subsystem was not initialized.IllegalStateException for the error@Message(id=79,
value="Failed to read the log file \'%s\'")
RuntimeException failedToReadLogFile(@Cause
Throwable cause,
String name)
Thrown as a RuntimeException because the operation did not fail. The cause is likely a failure to read
the file at an OS level.
cause - the cause of the errorname - the name of the file that was not foundRuntimeException for the error@Message(id=80,
value="File \'%s\' was not found and cannot be found in the %s directory.")
Resource.NoSuchResourceException logFileNotFound(String name,
String directoryProperty)
name - the name of the file that was not founddirectoryProperty - the name of the property used to resolved the log directoryOperationFailedException for the error@Message(id=81,
value="File \'%s\' is not allowed to be read.")
OperationFailedException readNotAllowed(String name)
name - the name of the file that was not allowed to be readOperationFailedException for the error@Message(id=82,
value="The suffix (%s) can not contain seconds or milliseconds.")
String suffixContainsMillis(String suffix)
suffix - the suffix.@Message(id=83,
value="Path \'%s\' is a directory and cannot be used as a log file.")
OperationFailedException invalidLogFile(String path)
path - the path attempting to be used as a log fileOperationFailedException for the error.@Message(id=84,
value="Resources of type %s cannot be registered")
UnsupportedOperationException cannotRegisterResourceOfType(String childType)
UnsupportedOperationException for the error@Message(id=85,
value="Resources of type %s cannot be removed")
UnsupportedOperationException cannotRemoveResourceOfType(String childType)
UnsupportedOperationException for the error@Message(id=86,
value="Could not determine deployment name from the address %s.")
IllegalArgumentException deploymentNameNotFound(PathAddress address)
address - the invalid addressIllegalArgumentException for the error@LogMessage(level=ERROR)
@Message(id=87,
value="Failed to process logging directory %s. Log files cannot be listed.")
void errorProcessingLogDirectory(String logDir)
@LogMessage(level=ERROR)
@Message(id=88,
value="Could not determine %s had any children resources.")
void errorDeterminingChildrenExist(@Cause
Throwable cause,
String childType)
cause - the cause of the errorchildType - the child resource@LogMessage(level=WARN)
@Message(id=89,
value="The log manager check was skipped and the log manager system property, \"java.util.logging.manager\", does not appear to be set to \"org.jboss.logmanager.LogManager\". The current value is \"%s\". Some behavior of the logged output such as MDC and NDC may not work as expected.")
void unknownLogManager(String logManagerName)
LogManager.logManagerName - the log manager system property value@Once
@LogMessage(level=WARN)
@Message(id=90,
value="The following path expressions could not be resolved while attempting to determine which log files are available to be read: %s")
void unresolvablePathExpressions(Set<String> unresolvableExpressions)
Note this will only be logged once for the life of the JVM.
unresolvableExpressions - the set of expressions that could not be resolvedCopyright © 2017 JBoss by Red Hat. All rights reserved.