Java Code Examples for org.jboss.logging.Logger.Level#ERROR

The following examples show how to use org.jboss.logging.Logger.Level#ERROR . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 145, value = "The host cannot start because it was started in running mode '%s' with no access " +
        "to a local copy of the domain wide configuration policy, and the '%s' attribute was set to '%s'. Startup " +
        "will be aborted. Use the '%s' command line argument to start in running mode '%s'.")
void noAccessControlConfigurationAvailable(RunningMode currentRunningMode, String policyAttribute,
                                           AdminOnlyDomainConfigPolicy policy,
                                           String cachedDcCmdLineArg, RunningMode desiredRunningMode);
 
Example 2
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 144, value = "The host cannot start because it was started in running mode '%s' with no access " +
        "to a local copy of the domain wide configuration policy, the '%s' attribute was set to '%s' and the " +
        "domain wide configuration policy could not be obtained from the Domain Controller host. Startup will be " +
        "aborted. Use the '%s' command line argument to start if you need to start without connecting to " +
        "a domain controller connection.")
void fetchConfigFromDomainMasterFailed(RunningMode currentRunningMode, String policyAttribute,
                                           AdminOnlyDomainConfigPolicy policy,
                                           String cachedDcCmdLineArg);
 
Example 3
Source File: ControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 400, value = "Capability '%s' in context '%s' associated with resource '%s' requires capability '%s'. " +
        "It is available in one or more socket binding groups, but not all socket binding capabilities required by " +
        "'%s' can be resolved from a single socket binding group, so this configuration is invalid")
void inconsistentCapabilityContexts(String dependentName, String dependentContext, String address, String requiredName, String dependentContextAgain);
 
Example 4
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id=142, value = "Failed to apply domain-wide configuration from master host controller")
void failedToApplyDomainConfig(@Cause Exception e);
 
Example 5
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message( id = 195, value = "Failed getting the response from the resume listener for server: %s")
void resumeListenerFailed(@Cause ExecutionException cause, String serverName);
 
Example 6
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 35, value = "Installation of the domain-wide configuration has failed. Because the running mode of this Host Controller is ADMIN_ONLY boot has been allowed to proceed. If ADMIN_ONLY mode were not in effect the process would be terminated due to a critical boot failure.")
void reportAdminOnlyDomainXmlFailure();
 
Example 7
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 200, value = "Reporting instability of server '%s' to Domain Controller failed.")
void failedReportingServerInstabilityToMaster(@Cause Exception e, String serverName);
 
Example 8
Source File: ControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 349, value = "Timeout after [%d] seconds waiting for service container stability while finalizing an operation. Process must be restarted. Step that first updated the service container was '%s' at address '%s'")
void timeoutCompletingOperation(long blockingTimeout, String name, PathAddress address);
 
Example 9
Source File: ControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 346, value = "Invalid value %s for property %s; must be a numeric value greater than zero. Default value of %d will be used.")
void invalidDefaultBlockingTimeout(String sysPropValue, String sysPropName, long defaultUsed);
 
Example 10
Source File: ControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
/**
 * Logs an error message indicating that audit logging is being disabled due to logging failures.
 */
@LogMessage(level = Level.ERROR)
@Message(id = 36, value = "[%d] consecutive management operation audit logging failures have occurred; disabling audit logging")
void disablingLoggingDueToFailures(short failureCount);
 
Example 11
Source File: MsgLogger.java    From hawkular-agent with Apache License 2.0 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 10083, value = "Failed to store notification: %s")
void errorFailedToStoreNotification(@Cause Throwable t, String data);
 
Example 12
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message( id = 194, value = "Failed executing the resume operation for server: %s")
void resumeExecutionFailed(@Cause IOException cause, String serverName);
 
Example 13
Source File: MsgLogger.java    From hawkular-agent with Apache License 2.0 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 10049, value = "Could not access resources of endpoint [%s]")
void errorCouldNotAccess(EndpointService<?, ?> endpoint, @Cause Throwable e);
 
Example 14
Source File: MsgLogger.java    From hawkular-agent with Apache License 2.0 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 10028, value = "Cannot start storage adapter; aborting startup")
void errorCannotStartStorageAdapter(@Cause Throwable t);
 
Example 15
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
@LogMessage(level = Level.ERROR)
@Message(id = 196, value = "Cannot move the file %s to %s, unable to persist domain configuration changes: %s ")
void cannotRenameCachedDomainXmlOnBoot(String tmpFilename, String destFilename, String reason);
 
Example 16
Source File: DomainControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Logs an error message indicating the class, represented by the {@code className} parameter, caught an exception
 * waiting for the task.
 *
 * @param className     the class name.
 * @param exceptionName the name of the exception caught.
 * @param task          the task.
 */
@LogMessage(level = Level.ERROR)
@Message(id = 9, value = "%s caught %s waiting for task %s. Cancelling task")
void caughtExceptionWaitingForTask(String className, String exceptionName, String task);
 
Example 17
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Logs an error message indicating a failure to stop the server, represented by the {@code serverName} parameter.
 *
 * @param cause      the cause of the error.
 * @param serverName the name of the server.
 */
@LogMessage(level = Level.ERROR)
@Message(id = 9, value = "Failed to stop server (%s)")
void failedToStopServer(@Cause Throwable cause, String serverName);
 
Example 18
Source File: ControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Logs an error message indicating the target definition could not be read.
 *
 * @param cause the cause of the error.
 */
@LogMessage(level = Level.ERROR)
@Message(id = 24, value = "Could not read target definition!")
void cannotReadTargetDefinition(@Cause Throwable cause);
 
Example 19
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Logs an error message indicating no server with the server name is available.
 *
 * @param serverName the name of the server.
 */
@LogMessage(level = Level.ERROR)
@Message(id = 14, value = "No server called %s available")
void noServerAvailable(String serverName);
 
Example 20
Source File: HostControllerLogger.java    From wildfly-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Logs an error message indicating that the master host controller could not write its
 * data to the S3 file.
 *
 * @param e the cause of the error.
 */
@LogMessage(level = Level.ERROR)
@Message(id=137, value = "Could not write domain controller data to S3 file. Error was: %s")
void cannotWriteDomainControllerData(Exception e);