Package org.jboss.as.logging.logging
Interface LoggingLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
LoggingLogger_$logger
@MessageLogger(projectCode="WFLYLOG", length=4) public interface LoggingLogger extends org.jboss.logging.BasicLoggerDate: 09.06.2011- Author:
- James R. Perkins, David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static LoggingLoggerROOT_LOGGERA root logger with the category of the package name.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringcannotAddHandlerToSelf(String handlerName)A message indicating the handler cannot be attached to itself.IllegalArgumentExceptioncannotLoadModule(Throwable cause, String moduleName, String description, String name)Creates an exception indicating a failure to load the module.UnsupportedOperationExceptioncannotRegisterResourceOfType(String childType)Create a failure description message indicating that the resource of given type can not be registered.UnsupportedOperationExceptioncannotRemoveResourceOfType(String childType)Create a failure description message indicating that the resource of given type can not be removed.StringclassNotFound(Throwable cause, String className)Creates an exception indicating the class, represented by theclassNameparameter, could not be found.IllegalArgumentExceptiondeploymentNameNotFound(PathAddress address)Creates an exception indicating the deployment name was not found on the address.voiderrorDeterminingChildrenExist(Throwable cause, String childType)Logs an error message indicating a failure to determine if a child resource exists.voiderrorProcessingLogDirectory(String logDir)DeploymentUnitProcessingExceptionerrorProcessingLoggingConfiguration(Throwable cause)Creates an exception indicating an error occurred while searching for logging configuration files.IllegalArgumentExceptionexpected(String token)Creates an exception indicating the token was expected next in the filter expression.IllegalArgumentExceptionexpected(String trueToken, String falseToken)Creates an exception indicating the one or the other tokens was expected next in the filter expression.IllegalArgumentExceptionexpectedIdentifier()Creates an exception indicating an identifier was expected next in the filter expression.IllegalArgumentExceptionexpectedString()Creates an exception indicating a string was expected next in the filter expression.IllegalStateExceptionextensionNotInitialized()Logs a warning message indicating theLogManageris required and the logging subsystem was not initialized.voidfailedToCloseResource(Throwable cause, AutoCloseable closeable)Logs an error message indicating to failure to close the resource represented by thecloseableparameter.DeploymentUnitProcessingExceptionfailedToConfigureLogging(Throwable cause, String fileName)Creates an exception indicating a failure to configure logging with the configuration file represented by thefileNameparameter.OperationFailedExceptionfailedToConfigureSslContext(Throwable cause, String resourceName, String resourceValue)Creates an exception indicating a failure to configure the SSL context.RuntimeExceptionfailedToReadLogFile(Throwable cause, String name)Creates an exception indicating a failure to read the log file.RuntimeExceptionfailedToWriteConfigurationFile(Throwable e, File fileName)A message indicating a failure to write the configuration file.OperationFailedExceptionfilterNotFound(String name)Creates an exception indicating the filter could not be found.StringformatterNotFound(String name)Creates an exception indicating the formatter could not be found.StringhandlerAlreadyDefined(String name)A message indicating the handler, represented by thenameparameter, is already assigned.OperationFailedExceptionhandlerAttachedToHandlers(String handlerName, Collection<String> handlers)A message indicating the handler is attached to the handlers.OperationFailedExceptionhandlerAttachedToLoggers(String handlerName, Collection<String> loggers)A message indicating the handler is attached to the loggers.IllegalStateExceptionhandlerClosed()An exception indicating a handler has been closed.StringhandlerConfigurationNotFound(String name)A message indicating the handler configuration could not be found.OperationFailedExceptionillegalFormatterName()Creates an exception indicating a formatter is using a reserved name.IllegalArgumentExceptioninvalidEscapeFoundInFilterExpression()Creates an exception indicating an invalid escape was found in the filter expression string.OperationFailedExceptioninvalidExceptionOutputType(String value)A message indicating the exception output type is not valid.StringinvalidFilter(String name)A message indicating the filter is invalid.OperationFailedExceptioninvalidFilterName(String name, char invalidChar)Creates an exception indicating the name of the filter is a reserved filter name.OperationFailedExceptioninvalidFilterNameStart(String name, char invalidChar)Creates an exception indicating the name of the filter is a reserved filter name.OperationFailedExceptioninvalidLogFile(String path)Creates an exception indicating the path is a directory and cannot be used as a log file.StringinvalidLogLevel(String level)A message indicating the log level, represented by thelevelparameter, is invalid.StringinvalidOverflowAction(String overflowAction)A message indicating the overflow action, represented by theoverflowActionparameter, is invalid.voidinvalidPropertyAttribute(String name)Logs a warning message indicating the attribute, represented by thenameparameter, is not a configurable property value.StringinvalidRelativeTo(String relativeTo)A message indicating an absolute path cannot be specified for relative-to.StringinvalidSize(String size)A message indicating the size is invalid.StringinvalidSuffix(String suffix)A message indicating a suffix is invalid.OperationFailedExceptioninvalidType(Class<?> expected, Class<?> found)Creates an exception indicating the types is invalid.voidjulConfigurationFileFound(String fileName)Logs a warning message indicating the configuration file found appears to be aJ.U.L.configuration file and the log manager does not allow this configuration.voidlogContextNotRemoved(org.jboss.logmanager.LogContext logContext, String deploymentName)Logs an error message indicating thelog contextassociated with the deployment could not be removed from thelog context selector.Resource.NoSuchResourceExceptionlogFileNotFound(String name, String directoryProperty)Creates an exception indicating the file was found in the log directory.StringloggerConfigurationNotFound(String name)A message indicating the logger configuration could not be found.StringloggerNotFound(String name)A message indicating the logger, represented by thenameparameter was not found.voidloggingProfileNotFound(String loggingProfile, ResourceRoot deployment)Logs a warning message indicating the deployment specified a logging profile, but the logging profile was not found.StringpathManagerServiceNotStarted()voidperDeploymentPropertyDeprecated(String propertyName, String attributeName)Deprecated.will be removed when theLoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGINGis removedvoidperLoggingDeploymentIgnored(String propertyName, String attributeName, String deploymentName)Deprecated.will be removed when theLoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGINGis removedOperationFailedExceptionreadNotAllowed(String name)Creates an exception indicating the user cannot read the file.voidreplacingConfigurator(org.jboss.logmanager.Configurator c)Logs a warning message indicating the configurator class is an unknown type and will be replaced.voidreplacingNamedHandler(String name)Logs a warning message indicating the handler is being replaced due to a different type or module name.OperationFailedExceptionreservedFilterName(String name, Collection<String> reservedNames)Creates an exception indicating the name of the filter is a reserved filter name.StringsuffixContainsMillis(String suffix)A message indicating a suffix contains seconds or milliseconds and the handler does not allow it.IllegalArgumentExceptiontruncatedFilterExpression()Creates an exception indicating the filter expression string is truncated.IllegalArgumentExceptionunexpectedEnd()Creates an exception indicating an unexpected end of the filter expression.voidunknownLogManager(String logManagerName)Logs a warning message indicating the log manager does not appear to theLogManager.voidunresolvablePathExpressions(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.UnsupportedOperationExceptionunsupportedMethod(String methodName, String className)Creates an exception indicating the method on the class is not supported.voidusageOfAppender(String appenderType)Logs a warning message indicating the deprecation of an appender being used for custom-handler.voidusageOfLog4j1Config(String fileName, String deploymentName)Logs a warning message indicating the deprecation of log4j configuration files in a deployment.-
Methods inherited from interface org.jboss.logging.BasicLogger
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, warnv
-
-
-
-
Field Detail
-
ROOT_LOGGER
static final LoggingLogger ROOT_LOGGER
A root logger with the category of the package name.
-
-
Method Detail
-
failedToCloseResource
@LogMessage(level=ERROR) @Message(id=6, value="Failed to close resource %s") void failedToCloseResource(@Cause Throwable cause, AutoCloseable closeable)Logs an error message indicating to failure to close the resource represented by thecloseableparameter.- Parameters:
cause- the cause of the errorcloseable- the resource
-
invalidPropertyAttribute
@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)Logs a warning message indicating the attribute, represented by thenameparameter, is not a configurable property value.- Parameters:
name- the name of the attribute
-
pathManagerServiceNotStarted
@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()
-
loggingProfileNotFound
@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)Logs a warning message indicating the deployment specified a logging profile, but the logging profile was not found.- Parameters:
loggingProfile- the logging profile that was not founddeployment- the deployment that specified the logging profile
-
julConfigurationFileFound
@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)Logs a warning message indicating the configuration file found appears to be aJ.U.L.configuration file and the log manager does not allow this configuration.- Parameters:
fileName- the configuration file name
-
replacingNamedHandler
@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)Logs a warning message indicating the handler is being replaced due to a different type or module name.- Parameters:
name- the name of the handler
-
replacingConfigurator
@LogMessage(level=WARN) @Message(id=13, value="A configurator class, \'%s\', is not a known configurator and will be replaced.") void replacingConfigurator(@Transform(GET_CLASS) org.jboss.logmanager.Configurator c)Logs a warning message indicating the configurator class is an unknown type and will be replaced.- Parameters:
c- the class that is being replaced
-
logContextNotRemoved
@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)Logs an error message indicating thelog contextassociated with the deployment could not be removed from thelog context selector.- Parameters:
logContext- the log context that could not be removeddeploymentName- the name of the deployment
-
perDeploymentPropertyDeprecated
@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)
Deprecated.will be removed when theLoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGINGis removedLogs a warning message indicating the per-logging deployment property has been deprecated and should not be used. Instead the attribute on the root subsystem should be used.- Parameters:
propertyName- the per-deployment property nameattributeName- the name of the new attribute
-
perLoggingDeploymentIgnored
@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)
Deprecated.will be removed when theLoggingConfigDeploymentProcessor.PER_DEPLOYMENT_LOGGINGis removedLogs a warning message indicating the per-logging deployment property is being ignored because the attribute has been set to ignore the deployments logging configuration.- Parameters:
propertyName- the per-deployment property nameattributeName- the name of the new attributedeploymentName- the name of the deployment
-
cannotLoadModule
@Message(id=19, value="Failed to load module \'%s\' for %s \'%s\'") IllegalArgumentException cannotLoadModule(@Cause Throwable cause, String moduleName, String description, String name)Creates an exception indicating a failure to load the module.- Parameters:
cause- the cause of the errormoduleName- the name of the module that could not be loadeddescription- a descriptionname- the name of the configuration- Returns:
- an
IllegalArgumentExceptionfor the error
-
classNotFound
@Message(id=21, value="Class \'%s\' could not be found.") String classNotFound(@Cause Throwable cause, String className)Creates an exception indicating the class, represented by theclassNameparameter, could not be found.- Parameters:
cause- the cause of the error.className- the name of the class that could not be found.- Returns:
- the message.
-
handlerAlreadyDefined
@Message(id=23, value="Handler %s is already assigned.") String handlerAlreadyDefined(String name)A message indicating the handler, represented by thenameparameter, is already assigned.- Parameters:
name- the handler name.- Returns:
- the message.
-
invalidFilter
@Message(id=25, value="Filter %s is invalid") String invalidFilter(String name)A message indicating the filter is invalid.- Parameters:
name- the name of the filter.- Returns:
- the message.
-
invalidLogLevel
@Message(id=26, value="Log level %s is invalid.") String invalidLogLevel(String level)A message indicating the log level, represented by thelevelparameter, is invalid.- Parameters:
level- the invalid level.- Returns:
- the message.
-
invalidOverflowAction
@Message(id=27, value="Overflow action %s is invalid.") String invalidOverflowAction(String overflowAction)A message indicating the overflow action, represented by theoverflowActionparameter, is invalid.- Parameters:
overflowAction- the invalid overflow action.- Returns:
- the message.
-
invalidSize
@Message(id=28, value="Invalid size %s") String invalidSize(String size)A message indicating the size is invalid.- Parameters:
size- the size.- Returns:
- the message.
-
loggerNotFound
@Message(id=35, value="Logger \'%s\' was not found.") String loggerNotFound(String name)A message indicating the logger, represented by thenameparameter was not found.- Parameters:
name- the name of the missing logger.- Returns:
- the message.
-
invalidRelativeTo
@Message(id=39, value="An absolute path (%s) cannot be specified for relative-to.") String invalidRelativeTo(String relativeTo)A message indicating an absolute path cannot be specified for relative-to.- Parameters:
relativeTo- the invalid absolute path.- Returns:
- the message.
-
invalidSuffix
@Message(id=41, value="The suffix (%s) is invalid. A suffix must be a valid date format.") String invalidSuffix(String suffix)A message indicating a suffix is invalid.- Parameters:
suffix- the suffix.- Returns:
- the message.
-
failedToConfigureLogging
@Message(id=42, value="Failed to configure logging using \'%s\' configuration file.") DeploymentUnitProcessingException failedToConfigureLogging(@Cause Throwable cause, String fileName)Creates an exception indicating a failure to configure logging with the configuration file represented by thefileNameparameter.- Parameters:
cause- the cause of the error.fileName- the configuration file name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
errorProcessingLoggingConfiguration
@Message(id=43, value="Error occurred while searching for logging configuration files.") DeploymentUnitProcessingException errorProcessingLoggingConfiguration(@Cause Throwable cause)Creates an exception indicating an error occurred while searching for logging configuration files.- Parameters:
cause- the cause of the error.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
handlerAttachedToHandlers
@Message(id=44, value="Handler %s is attached to the following handlers and cannot be removed; %s") OperationFailedException handlerAttachedToHandlers(String handlerName, Collection<String> handlers)A message indicating the handler is attached to the handlers.- Parameters:
handlerName- the name of tha attached handler.handlers- a collection of the handler names.- Returns:
- the message.
-
handlerAttachedToLoggers
@Message(id=45, value="Handler %s is attached to the following loggers and cannot be removed; %s") OperationFailedException handlerAttachedToLoggers(String handlerName, Collection<String> loggers)A message indicating the handler is attached to the loggers.- Parameters:
handlerName- the name of tha attached handler.loggers- a collection of the logger names.- Returns:
- the message.
-
cannotAddHandlerToSelf
@Message(id=46, value="Cannot add handler (%s) to itself") String cannotAddHandlerToSelf(String handlerName)A message indicating the handler cannot be attached to itself.- Parameters:
handlerName- the name of the handler- Returns:
- the message
-
handlerClosed
@Message(id=47, value="The handler is closed, cannot publish to a closed handler") IllegalStateException handlerClosed()An exception indicating a handler has been closed.- Returns:
- an
IllegalStateExceptionfor the error
-
handlerConfigurationNotFound
@Message(id=48, value="Configuration for handler \'%s\' could not be found.") String handlerConfigurationNotFound(String name)A message indicating the handler configuration could not be found.- Parameters:
name- the name of the handler- Returns:
- the message
-
loggerConfigurationNotFound
@Message(id=49, value="Configuration for logger \'%s\' could not be found.") String loggerConfigurationNotFound(String name)A message indicating the logger configuration could not be found.- Parameters:
name- the name of the logger- Returns:
- the message
-
unsupportedMethod
@Message(id=50, value="Method %s on class %s is not supported") UnsupportedOperationException unsupportedMethod(String methodName, String className)Creates an exception indicating the method on the class is not supported.- Parameters:
methodName- the name of the methodclassName- the name of the class- Returns:
- an
UnsupportedOperationExceptionfor the error
-
failedToWriteConfigurationFile
@Message(id=51, value="Failed to write configuration file %s") RuntimeException failedToWriteConfigurationFile(@Cause Throwable e, File fileName)A message indicating a failure to write the configuration file.- Parameters:
fileName- the name of the file- Returns:
- the message
-
formatterNotFound
@Message(id=61, value="Formatter \'%s\' is not found") String formatterNotFound(String name)Creates an exception indicating the formatter could not be found.- Parameters:
name- the name of the formatter- Returns:
- an
IllegalArgumentExceptionfor the error
-
truncatedFilterExpression
@Message(id=70, value="Truncated filter expression string") IllegalArgumentException truncatedFilterExpression()Creates an exception indicating the filter expression string is truncated.- Returns:
- an
IllegalArgumentExceptionfor the error
-
invalidEscapeFoundInFilterExpression
@Message(id=71, value="Invalid escape found in filter expression string") IllegalArgumentException invalidEscapeFoundInFilterExpression()Creates an exception indicating an invalid escape was found in the filter expression string.- Returns:
- an
IllegalArgumentExceptionfor the error
-
filterNotFound
@Message(id=72, value="Filter \'%s\' is not found") OperationFailedException filterNotFound(String name)Creates an exception indicating the filter could not be found.- Parameters:
name- the name of the filter- Returns:
- an
IllegalArgumentExceptionfor the error
-
expectedIdentifier
@Message(id=73, value="Expected identifier next in filter expression") IllegalArgumentException expectedIdentifier()Creates an exception indicating an identifier was expected next in the filter expression.- Returns:
- an
IllegalArgumentExceptionfor the error
-
expectedString
@Message(id=74, value="Expected string next in filter expression") IllegalArgumentException expectedString()Creates an exception indicating a string was expected next in the filter expression.- Returns:
- an
IllegalArgumentExceptionfor the error
-
expected
@Message(id=75, value="Expected \'%s\' next in filter expression") IllegalArgumentException expected(String token)Creates an exception indicating the token was expected next in the filter expression.- Parameters:
token- the token expected- Returns:
- an
IllegalArgumentExceptionfor the error
-
expected
@Message(id=-1, value="Expected \'%s\' or \'%s\' next in 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.- Parameters:
trueToken- the true tokenfalseToken- the false token- Returns:
- an
IllegalArgumentExceptionfor the error
-
unexpectedEnd
@Message(id=76, value="Unexpected end of filter expression") IllegalArgumentException unexpectedEnd()Creates an exception indicating an unexpected end of the filter expression.- Returns:
- an
IllegalArgumentExceptionfor the error
-
extensionNotInitialized
@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()Logs a warning message indicating theLogManageris required and the logging subsystem was not initialized.- Returns:
- an
IllegalStateExceptionfor the error
-
failedToReadLogFile
@Message(id=79, value="Failed to read the log file \'%s\'") RuntimeException failedToReadLogFile(@Cause Throwable cause, String name)Creates an exception indicating a failure to read the log file.Thrown as a
RuntimeExceptionbecause the operation did not fail. The cause is likely a failure to read the file at an OS level.- Parameters:
cause- the cause of the errorname- the name of the file that was not found- Returns:
- an
RuntimeExceptionfor the error
-
logFileNotFound
@Message(id=80, value="File \'%s\' was not found and cannot be found in the %s directory.") Resource.NoSuchResourceException logFileNotFound(String name, String directoryProperty)Creates an exception indicating the file was found in the log directory.- Parameters:
name- the name of the file that was not founddirectoryProperty- the name of the property used to resolved the log directory- Returns:
- an
OperationFailedExceptionfor the error
-
readNotAllowed
@Message(id=81, value="File \'%s\' is not allowed to be read.") OperationFailedException readNotAllowed(String name)Creates an exception indicating the user cannot read the file.- Parameters:
name- the name of the file that was not allowed to be read- Returns:
- an
OperationFailedExceptionfor the error
-
suffixContainsMillis
@Message(id=82, value="The suffix (%s) can not contain seconds or milliseconds.") String suffixContainsMillis(String suffix)A message indicating a suffix contains seconds or milliseconds and the handler does not allow it.- Parameters:
suffix- the suffix.- Returns:
- the message.
-
invalidLogFile
@Message(id=83, value="Path \'%s\' is a directory and cannot be used as a log file.") OperationFailedException invalidLogFile(String path)Creates an exception indicating the path is a directory and cannot be used as a log file.- Parameters:
path- the path attempting to be used as a log file- Returns:
- an
OperationFailedExceptionfor the error.
-
cannotRegisterResourceOfType
@Message(id=84, value="Resources of type %s cannot be registered") UnsupportedOperationException cannotRegisterResourceOfType(String childType)Create a failure description message indicating that the resource of given type can not be registered.- Returns:
- an
UnsupportedOperationExceptionfor the error
-
cannotRemoveResourceOfType
@Message(id=85, value="Resources of type %s cannot be removed") UnsupportedOperationException cannotRemoveResourceOfType(String childType)Create a failure description message indicating that the resource of given type can not be removed.- Returns:
- an
UnsupportedOperationExceptionfor the error
-
deploymentNameNotFound
@Message(id=86, value="Could not determine deployment name from the address %s.") IllegalArgumentException deploymentNameNotFound(PathAddress address)Creates an exception indicating the deployment name was not found on the address.- Parameters:
address- the invalid address- Returns:
- an
IllegalArgumentExceptionfor the error
-
errorProcessingLogDirectory
@LogMessage(level=ERROR) @Message(id=87, value="Failed to process logging directory %s. Log files cannot be listed.") void errorProcessingLogDirectory(String logDir)
-
errorDeterminingChildrenExist
@LogMessage(level=ERROR) @Message(id=88, value="Could not determine %s had any children resources.") void errorDeterminingChildrenExist(@Cause Throwable cause, String childType)Logs an error message indicating a failure to determine if a child resource exists.- Parameters:
cause- the cause of the errorchildType- the child resource
-
unknownLogManager
@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)Logs a warning message indicating the log manager does not appear to theLogManager.- Parameters:
logManagerName- the log manager system property value
-
unresolvablePathExpressions
@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)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.Note this will only be logged once for the life of the JVM.
- Parameters:
unresolvableExpressions- the set of expressions that could not be resolved
-
invalidExceptionOutputType
@Message(id=91, value="Exception output type %s is invalid.") OperationFailedException invalidExceptionOutputType(String value)A message indicating the exception output type is not valid.- Parameters:
value- the invalid value- Returns:
- an
OperationFailedExceptionfor the error
-
invalidType
@Message(id=92, value="Invalid type found. Expected %s but found %s.") OperationFailedException invalidType(Class<?> expected, Class<?> found)Creates an exception indicating the types is invalid.- Parameters:
expected- the expected typefound- the found type- Returns:
- an
OperationFailedExceptionfor the error
-
failedToConfigureSslContext
@Message(id=93, value="Failed to configure SSL context for %s %s.") OperationFailedException failedToConfigureSslContext(@Cause Throwable cause, String resourceName, String resourceValue)Creates an exception indicating a failure to configure the SSL context.- Parameters:
cause- the cause of the errorresourceName- the name of the resourceresourceValue- the resource value- Returns:
- an
OperationFailedExceptionfor the error
-
illegalFormatterName
@Message(id=94, value="Formatter name cannot end with \'-wfcore-pattern-formatter\'") OperationFailedException illegalFormatterName()Creates an exception indicating a formatter is using a reserved name.- Returns:
- an
OperationFailedExceptionfor the error
-
reservedFilterName
@Message(id=95, value="The name %s cannot be used as a filter name as it is a reserved filter name. Reserved names are: %s") OperationFailedException reservedFilterName(String name, Collection<String> reservedNames)Creates an exception indicating the name of the filter is a reserved filter name.- Parameters:
name- the invalid namereservedNames- the collection of reserved names- Returns:
- an
OperationFailedExceptionfor the error
-
invalidFilterNameStart
@Message(id=96, value="The name %s cannot be used as a filter name as it starts with an invalid character %s") OperationFailedException invalidFilterNameStart(String name, char invalidChar)Creates an exception indicating the name of the filter is a reserved filter name.- Parameters:
name- the invalid nameinvalidChar- the invalid character- Returns:
- an
OperationFailedExceptionfor the error
-
invalidFilterName
@Message(id=97, value="The name %s cannot be used as a filter name as it contains an invalid character %s") OperationFailedException invalidFilterName(String name, char invalidChar)Creates an exception indicating the name of the filter is a reserved filter name.- Parameters:
name- the invalid nameinvalidChar- the invalid character- Returns:
- an
OperationFailedExceptionfor the error
-
usageOfAppender
@Message(id=99, value="Usage of a log4j appender (%s) found in a custom-handler. Support for using appenders as custom handlers has been deprecated and will be removed in a future release.") @LogMessage(level=WARN) void usageOfAppender(String appenderType)Logs a warning message indicating the deprecation of an appender being used for custom-handler.- Parameters:
appenderType- the appender being used
-
usageOfLog4j1Config
@Message(id=100, value="Usage of a log4j configuration file (%s) was found in deployment %s. Support for log4j configuration files in deployments has been deprecated and will be removed in a future release.") @LogMessage(level=WARN) void usageOfLog4j1Config(String fileName, String deploymentName)Logs a warning message indicating the deprecation of log4j configuration files in a deployment.- Parameters:
fileName- the log4j configuration filedeploymentName- the deployment name
-
-