Java Code Examples for org.jboss.logging.Logger.Level#WARN
The following examples show how to use
org.jboss.logging.Logger.Level#WARN .
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: ControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 5 votes |
@LogMessage(level = Level.WARN) @Message(id = 447, value = "Attribute '%s' in the resource at address '%s' has been configured with an expression, " + "but support for use of expressions in this attribute's value may be removed in a future version. This " + "attribute configures whether a capability that can be required by other parts of the configuration is present " + "or itself configures a requirement for a capability provided by another part of the configuration. " + "Full support for this kind of configuration cannot be provided when an expression is used.") void attributeExpressionDeprecated(String name, String address);
Example 2
Source File: J2CacheMessageLogger.java From J2Cache with Apache License 2.0 | 5 votes |
/** * Logs a message (WARN) about attempt to use an incompatible */ @LogMessage(level = Level.WARN) @Message( value = "The default cache value mode for this J2Cache configuration is \"identity\". " + "This is incompatible with clustered Hibernate caching - the value mode has therefore been " + "switched to \"serialization\"", id = 20005 ) void incompatibleCacheValueMode();
Example 3
Source File: J2CacheMessageLogger.java From J2Cache with Apache License 2.0 | 5 votes |
/** * Log a message (WARN) about expiry of soft-locked region. * * @param regionName The region name * @param key The cache key * @param lock The lock */ @LogMessage(level = Level.WARN) @Message( value = "Cache[%s] Key[%s] Lockable[%s]\n" + "A soft-locked cache entry was expired by the underlying J2Cache. If this happens regularly you " + "should consider increasing the cache timeouts and/or capacity limits", id = 20008 ) void softLockedCacheExpired(String regionName, Object key, String lock);
Example 4
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 30, value = "Connection to remote host \"%s\" closed unexpectedly") void lostConnectionToRemoteHost(String hostId);
Example 5
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 31, value = "Cannot load the domain model using --backup") void invalidRemoteBackupPersisterState();
Example 6
Source File: MsgLogger.java From hawkular-agent with Apache License 2.0 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 10078, value = "Tried %d times to reach the server %s endpoint at %s. Is it up?") void warnConnectionDelayed(int count, String what, String url);
Example 7
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
/** * Logs an error message indicating the connection to the remote host controller closed. */ @LogMessage(level = Level.WARN) @Message(id = 15, value = "Connection to remote host-controller closed. Trying to reconnect.") void lostRemoteDomainConnection();
Example 8
Source File: ControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 411, value = "Failed to parse element '%s', ignoring ...") void failedToParseElementLenient(@Cause XMLStreamException e, String elementName);
Example 9
Source File: MsgLogger.java From hawkular-agent with Apache License 2.0 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 10047, value = "Failed to locate [%s] at location [%s] relative to [%s]") void warnFailedToLocate(@Cause ProtocolException e, String typeName, String location, String parentLocation);
Example 10
Source File: DomainControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 2, value = "Ignoring 'include' child of 'profile' %s") void warnIgnoringProfileInclude(Location location);
Example 11
Source File: Log.java From hibernate-ogm-ignite with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 1702, value = "Unknown cache '%s'. Creating new with default settings.") void unknownCache(String cacheName);
Example 12
Source File: ControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 440, value = "Cannot delete file or directory %s") void cannotDeleteFileOrDirectory(File file);
Example 13
Source File: ControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 443, value = "Error getting the password from the supplier %s") void errorObtainingPassword(@Cause Exception cause, String message);
Example 14
Source File: ControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@LogMessage(level = Level.WARN) @Message(id = 442, value = "Error stopping server") void errorStoppingServer(@Cause Exception cause);
Example 15
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Logs a warning message indicating that the slave host controller could not * discover the remote domain controller using the given {@link org.jboss.as.host.controller.discovery.DiscoveryOption}. * * @param e the cause of the error. */ @LogMessage(level = Level.WARN) @Message(id = 146, value = "Could not discover master using discovery option %s. Error was: %s") void failedDiscoveringMaster(DiscoveryOption option, Exception e);
Example 16
Source File: DomainControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Logs a warning message indicating an exception was caught closing the input stream. * * @param cause the cause of the error. */ @LogMessage(level = Level.WARN) @Message(id = 7, value = "Caught exception closing input stream") void caughtExceptionClosingInputStream(@Cause Throwable cause);
Example 17
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Logs a warning message indicating no logging configuration file could be found. Logging may not be configured * until the logging subsystem is activated on the server. * * @param serverName the name of the server the configuration file could not be found for */ @LogMessage(level = Level.WARN) @Message(id = 204, value = "No logging configuration file could be found for the servers initial boot. Logging will " + "not be configured until the logging subsystem is activated for the server %s") void serverLoggingConfigurationFileNotFound(String serverName);
Example 18
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Logs a warning message indicating the existing server is already defined with a different state. * * @param serverName the name of the server. * @param state the current state. */ @LogMessage(level = Level.WARN) @Message(id = 5, value = "Existing server [%s] with status: %s") void existingServerWithState(String serverName, ServerStatus state);
Example 19
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Logs a warning message indicating {@literal <permgen>} is being ignored. * * @param type the jvm type. * @param jvm the jvm. */ @LogMessage(level = Level.WARN) @Message(id = 11, value = "Ignoring <permgen> for jvm '%s' type jvm: %s") void ignoringPermGen(JvmType type, String jvm);
Example 20
Source File: HostControllerLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Logs a warning message indicating the option for the jvm was already set and is being ignored. * * @param option the option. * @param jvm the jvm. * @param element the schema element. */ @LogMessage(level = Level.WARN) @Message(id = 16, value = "Ignoring <option value=\"%s\" for jvm '%s' since '%s' was set") void optionAlreadySet(String option, String jvm, String element);