配置如下,springboot微服务,在配置文件中,并没有看到日志的配置路径呀,应该从哪里看日志?

# SPRING BOOT PROPERTIES

spring:

# IDENTITY (ContextIdApplicationContextInitializer)

application:

name: maes

# PROFILES

profiles:

active: dev

# JMX

jmx:

enabled: false

jpa:

show-sql: true

database: MYSQL

thymeleaf:

mode: HTML

# ----------------------------------------

# WEB PROPERTIES

# ----------------------------------------

server:

port: 8080

servlet:

# 应用的访问路径

context-path: /maes

# ----------------------------------------

# ACTUATOR PROPERTIES

# ----------------------------------------

# MANAGEMENT HTTP SERVER (ManagementServerProperties)

management:

# ENDPOINTS WEB CONFIGURATION (WebEndpointProperties)

endpoints:

web:

exposure:

include: 'prometheus'

# --------------

# Mybatis-Plus

# --------------

mybatis-plus:

mapper-locations: classpath:mapper/**/*Mapper.xml

configuration:

log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl

cache-enabled: false

pagehelper:

helperDialect: mysql

reasonable: true

supportMethodsArguments: true

params: count=countSql

# LOGGING

logging:

level:

root: INFO

# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)

spring:

datasource:

driver-class-name: com.mysql.cj.jdbc.Driver

type: com.zaxxer.hikari.HikariDataSource

hikari:

minimum-idle: 10

connection-timeout: 2000

maximum-pool-size: 20

auto-commit: true

data-source-properties:

cachePrepStmts: true

prepStmtCacheSize: 250

prepStmtCacheSqlLimit: 2048

useServerPrepStmts: true

max-lifetime: 570000

idle-timeout: 500000

mail:

host: localhost

port: 25

username:

password:

thymeleaf:

cache: true

# Feign

feign:

client:

config:

default:

connectTimeout: 3000

readTimeout: 10000

loggerLevel: full

ekm-apiservice:

url: http://test.prod:8080

gateway-demo-client:

url: http://spring-boot-inventory.qd-aliyun.test.net

com.test.material.service.feign.interceptor.DemoFeignInterceptor

okhttp:

enabled: true

httpclient:

enabled: false

max-connections: 200

max-connections-per-route: 50

time-to-live: 900

time-to-live-unit: seconds

connection-timeout: 2000

follow-redirects: true

disable-ssl-validation: false

eventclient:

serverAddress: http://alertproxy-dev.test.net/api/v1/events

sendInterval: 30

sameSendInterval: 300

application:

node:

name: tes

init-cache: true

scheduler:

admin:

open: false

以上是 配置如下,springboot微服务,在配置文件中,并没有看到日志的配置路径呀,应该从哪里看日志? 的全部内容, 来源链接: utcz.com/p/944648.html

回到顶部