@Scheduled(fixedRate = FIXED_RATE) fun logStatistics() { if (beansAvailable) { if (log.isInfoEnabled()) { logOperatingSystemStatistics() logRuntimeStatistics() logMemoryStatistics() logThreadStatistics() log.info("\n") } } if (log.isInfoEnabled()) { logDroppedData() logBufferStatistics() logStorageStatistics() } }
Log all the statistics .