org.jboss.logging.Logger Java Examples
The following examples show how to use
org.jboss.logging.Logger.
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: KeyStoreService.java From wildfly-core with GNU Lesser General Public License v2.1 | 6 votes |
private void checkCertificatesValidity(KeyStore keyStore) throws KeyStoreException { if (ROOT_LOGGER.isEnabled(Logger.Level.WARN)) { Enumeration<String> aliases = keyStore.aliases(); while (aliases.hasMoreElements()) { String alias = aliases.nextElement(); Certificate certificate = keyStore.getCertificate(alias); if (certificate != null && certificate instanceof X509Certificate) { try { ((X509Certificate) certificate).checkValidity(); } catch (CertificateExpiredException | CertificateNotYetValidException e) { ROOT_LOGGER.certificateNotValid(alias, e); } } } } }
Example #2
Source File: DisabledJMXInitiator.java From quarkus with Apache License 2.0 | 5 votes |
@Override public JmxService initiateService(Map configurationValues, ServiceRegistryImplementor registry) { if (ConfigurationHelper.getBoolean(AvailableSettings.JMX_ENABLED, configurationValues, false)) { Logger.getLogger(DisabledJMXInitiator.class) .warn("Enabling JMX is not allowed in Quarkus: forcefully disabled. Ignoring property:" + AvailableSettings.JMX_ENABLED); } return DisabledJmxServiceImpl.INSTANCE; }
Example #3
Source File: AuditLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.INFO) @Message(id = 601722, value = "User {0} failed to resume queue {1}", format = Message.Format.MESSAGE_FORMAT) void resumeQueueFailure(String user, String queueName);
Example #4
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void recognizedObsoleteHibernateNamespace(final String arg0, final String arg1) { super.log.logf(FQCN, (org.jboss.logging.Logger.Level.WARN), null, recognizedObsoleteHibernateNamespace$str(), arg0, arg1); }
Example #5
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void deprecatedManyToManyFetch() { super.log.logf(FQCN, Logger.Level.WARN, (Throwable)null, this.deprecatedManyToManyFetch$str(), new Object[0]); }
Example #6
Source File: LoggingActiveMQServerPluginLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.INFO) @Message(id = 841002, value = "created session name: {0}, session connectionID: {1}", format = Message.Format.MESSAGE_FORMAT) void afterCreateSession(String sessionName, Object sesssionConnectionID);
Example #7
Source File: PicketBoxLogger.java From lams with GNU General Public License v2.0 | 4 votes |
@LogMessage(level = Logger.Level.ERROR) @Message(id = 265, value = "The security domain %s has been disabled. All authentication will fail") void errorUsingDisabledDomain(String securityDomain);
Example #8
Source File: ActiveMQUtilLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 202008, value = "Failed to check Address list {0}.", format = Message.Format.MESSAGE_FORMAT) void failedToParseAddressList(@Cause Exception e, String addressList);
Example #9
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void creatingSubcontextInfo(String arg0) { super.log.logf(FQCN, Logger.Level.INFO, (Throwable)null, this.creatingSubcontextInfo$str(), arg0); }
Example #10
Source File: ActiveMQJMSBridgeLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 342011, value = "Transaction rolled back, retrying TX", format = Message.Format.MESSAGE_FORMAT) void transactionRolledBack(@Cause Exception e);
Example #11
Source File: ActiveMQServerLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 222155, value = "Failed to register as backup. Stopping the server.", format = Message.Format.MESSAGE_FORMAT) void errorRegisteringBackup();
Example #12
Source File: ActiveMQClientLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.ERROR) @Message(id = 214021, value = "Invalid cipher suite specified. Supported cipher suites are: {0}", format = Message.Format.MESSAGE_FORMAT) void invalidCipherSuite(String validSuites);
Example #13
Source File: ActiveMQServerLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 222006, value = "Binding already exists with name {0}, divert will not be deployed", format = Message.Format.MESSAGE_FORMAT) void divertBindingAlreadyExists(SimpleString bindingName);
Example #14
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void validatorNotFound() { super.log.logf(FQCN, Logger.Level.INFO, (Throwable)null, this.validatorNotFound$str(), new Object[0]); }
Example #15
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void unableToDestroyUpdateTimestampsCache(final String arg0, final String arg1) { super.log.logf(FQCN, (org.jboss.logging.Logger.Level.WARN), null, unableToDestroyUpdateTimestampsCache$str(), arg0, arg1); }
Example #16
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void schemaExportComplete() { super.log.logf(FQCN, Logger.Level.INFO, (Throwable)null, this.schemaExportComplete$str(), new Object[0]); }
Example #17
Source File: SwarmMessages.java From thorntail with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.ERROR) @Message(id = 26, value = "Error invoking SslServerIdentity.generateSelfSignedCertificateHost(String) in HTTPSCustomizer.") void failToInvokeGenerateSelfSignedCertificateHost(@Cause Throwable cause);
Example #18
Source File: AuditLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.INFO) @Message(id = 601193, value = "User {0} is counting messages on target resource: {1} {2}", format = Message.Format.MESSAGE_FORMAT) void countMessages(String user, Object source, Object... args);
Example #19
Source File: AuditLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.INFO) @Message(id = 601041, value = "User {0} is getting journal compact percentage on target resource: {1} {2}", format = Message.Format.MESSAGE_FORMAT) void getJournalCompactPercentage(String user, Object source, Object... args);
Example #20
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void sessionsOpened(long arg0) { super.log.logf(FQCN, Logger.Level.INFO, (Throwable)null, this.sessionsOpened$str(), arg0); }
Example #21
Source File: PicketBoxLogger.java From lams with GNU General Public License v2.0 | 4 votes |
@LogMessage(level = Logger.Level.DEBUG) @Message(id = 294, value = "Check is not resourcePerm, userDataPerm or roleRefPerm") void debugInvalidWebJaccCheck();
Example #22
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void schemaUpdateComplete() { super.log.logf(FQCN, (org.jboss.logging.Logger.Level.INFO), null, schemaUpdateComplete$str()); }
Example #23
Source File: AuditLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.INFO) @Message(id = 601052, value = "User {0} is querying is-journal-sync-transactional on target resource: {1} {2}", format = Message.Format.MESSAGE_FORMAT) void isJournalSyncTransactional(String user, Object source, Object... args);
Example #24
Source File: ActiveMQServerLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 222048, value = "PAGE_CURSOR_COUNTER_VALUE record used on a prepared statement, invalid state", format = Message.Format.MESSAGE_FORMAT) void journalPAGEOnPrepared();
Example #25
Source File: CoreLogging.java From lams with GNU General Public License v2.0 | 4 votes |
public static Logger logger(Class classNeedingLogging) { return Logger.getLogger( classNeedingLogging ); }
Example #26
Source File: ActiveMQServerLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 222141, value = "Node Manager can not open file {0}", format = Message.Format.MESSAGE_FORMAT) void nodeManagerCantOpenFile(@Cause Exception e, File file);
Example #27
Source File: ActiveMQServerLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 222198, value = "Could not flush ClusterManager executor ({0}) in 10 seconds, verify your thread pool size", format = Message.Format.MESSAGE_FORMAT) void couldNotFlushClusterManager(String manager);
Example #28
Source File: ActiveMQServerLogger.java From activemq-artemis with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 222235, value = "Unable to inject a monitor", format = Message.Format.MESSAGE_FORMAT) void unableToInjectMonitor(@Cause Throwable e);
Example #29
Source File: J2CacheMessageLogger_$logger.java From J2Cache with Apache License 2.0 | 4 votes |
public final void exceptionInBeforeTransactionCompletionInterceptor(final Throwable arg0) { super.log.logf(FQCN, (org.jboss.logging.Logger.Level.ERROR), (arg0), exceptionInBeforeTransactionCompletionInterceptor$str()); }
Example #30
Source File: ProviderLogging.java From smallrye-reactive-messaging with Apache License 2.0 | 4 votes |
@LogMessage(level = Logger.Level.WARN) @Message(id = 221, value = "%d subscribers consuming the stream %s") void numberOfSubscribersConsumingStream(int size, String name);