Change the name of the local log monitoring package

pull/602/head
chen.ma 2 years ago
parent a26c500621
commit 19df5533c2

@ -25,7 +25,7 @@ import cn.hippo4j.monitor.base.MonitorTypeEnum;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
/** /**
* Log monitor handler. * Local log monitor handler.
*/ */
@Slf4j @Slf4j
public class LocalLogMonitorHandler extends AbstractDynamicThreadPoolMonitor { public class LocalLogMonitorHandler extends AbstractDynamicThreadPoolMonitor {

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package cn.hippo4j.springboot.starter.monitor.log; package cn.hippo4j.springboot.starter.monitor.local.log;
import cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler; import cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler;
import cn.hippo4j.monitor.local.log.LocalLogMonitorHandler; import cn.hippo4j.monitor.local.log.LocalLogMonitorHandler;
@ -23,13 +23,13 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
/** /**
* Log monitor auto configuration. * Local log monitor auto configuration.
*/ */
@Configuration @Configuration
public class LogMonitorAutoConfiguration { public class LocalLogMonitorAutoConfiguration {
@Bean @Bean
public LocalLogMonitorHandler logMonitorHandler(ThreadPoolRunStateHandler threadPoolRunStateHandler) { public LocalLogMonitorHandler localLogMonitorHandler(ThreadPoolRunStateHandler threadPoolRunStateHandler) {
return new LocalLogMonitorHandler(threadPoolRunStateHandler); return new LocalLogMonitorHandler(threadPoolRunStateHandler);
} }
} }

@ -1 +1 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=cn.hippo4j.springboot.starter.monitor.log.LogMonitorAutoConfiguration org.springframework.boot.autoconfigure.EnableAutoConfiguration=cn.hippo4j.springboot.starter.monitor.local.log.LocalLogMonitorAutoConfiguration

Loading…
Cancel
Save