生产环境日志级别

This commit is contained in:
wangliwen 2022-12-27 09:58:59 +08:00
parent 9a5daeab88
commit 4ac7e57d33
2 changed files with 2 additions and 1 deletions

View File

@ -2984,6 +2984,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
try { try {
list = lcJdbcTemplate.queryForList(sb.toString()); list = lcJdbcTemplate.queryForList(sb.toString());
list = list.stream().map(index -> { list = list.stream().map(index -> {
logger.info("云资源使用信息信息:" + JSON.toJSONString(index));
switch (index.get("type").toString()) { // 根据类型填充其审核状态 switch (index.get("type").toString()) { // 根据类型填充其审核状态
case "云主机": case "云主机":
case "云数据库": case "云数据库":

View File

@ -73,7 +73,7 @@
<appender-ref ref="FILE_INFO"/> <appender-ref ref="FILE_INFO"/>
</logger> </logger>
<logger name="org.springboot.sample" level="ERROR"/> <logger name="org.springboot.sample" level="ERROR"/>
<logger name="io.renren" level="ERROR"/> <logger name="io.renren" level="INFO"/>
</springProfile> </springProfile>
<root level="INFO"> <root level="INFO">