周俊杰
1 year ago
8 changed files with 109 additions and 18 deletions
@ -0,0 +1,33 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<included> |
|||
<springProperty scope="context" name="logPath" source="logging.file.path" defaultValue="logs"/> |
|||
<property name="LOG_HOME" value="${logPath}"/> |
|||
<!-- 按照每天生成日志文件 --> |
|||
<appender name="FILE13" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> |
|||
<!--日志文件输出的文件名--> |
|||
<FileNamePattern>${LOG_HOME}/任务反馈/%d{yyyy-MM-dd}.%i.log</FileNamePattern> |
|||
<!--日志文件保留天数--> |
|||
<maxHistory>15</maxHistory> |
|||
<!--单个日志最大容量 至少10MB才能看得出来--> |
|||
<maxFileSize>200MB</maxFileSize> |
|||
<!--所有日志最多占多大容量--> |
|||
<totalSizeCap>2GB</totalSizeCap> |
|||
</rollingPolicy> |
|||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> |
|||
<!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符--> |
|||
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern> |
|||
<charset>${log.charset}</charset> |
|||
</encoder> |
|||
|
|||
</appender> |
|||
|
|||
<!-- <logger name="org.nl.start.Init" level="info" additivity="false"> |
|||
<appender-ref ref="FILE3"/> |
|||
</logger>--> |
|||
|
|||
<!-- 打印sql --> |
|||
<logger name="org.nl.acs.task.service.impl.TaskServiceImpl.java" level="info" additivity="false"> |
|||
<appender-ref ref="FILE13"/> |
|||
</logger> |
|||
</included> |
@ -1,8 +1,8 @@ |
|||
ENV = 'development' |
|||
|
|||
# 接口地址 |
|||
VUE_APP_BASE_API = 'http://localhost:8010' |
|||
VUE_APP_WS_API = 'ws://localhost:8010' |
|||
VUE_APP_BASE_API = 'http://localhost:8011' |
|||
VUE_APP_WS_API = 'ws://localhost:8011' |
|||
|
|||
# 是否启用 babel-plugin-dynamic-import-node插件 |
|||
VUE_CLI_BABEL_TRANSPILE_MODULES = true |
|||
|
@ -1,10 +1,10 @@ |
|||
window.g = { |
|||
dev: { |
|||
VUE_APP_BASE_API: 'http://127.0.0.1:8010' |
|||
}, |
|||
prod: { |
|||
VUE_APP_BASE_API: 'http://127.0.0.1:8010' |
|||
dev: { |
|||
VUE_APP_BASE_API: 'http://127.0.0.1:8011' |
|||
}, |
|||
prod: { |
|||
VUE_APP_BASE_API: 'http://172.18.10.14:8010' |
|||
|
|||
} |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue