部署在Weblogic上的SpringBoot应用程序-Hibernate日志

部署在Weblogic上的SpringBoot应用程序-Hibernate日志,hibernate,spring-boot,jpa,logging,weblogic12c,Hibernate,Spring Boot,Jpa,Logging,Weblogic12c,我有一个SpringBoot应用程序部署在weblogic12.2服务器上 当应用程序启动时,我可以在控制台中看到如下内容 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|

我有一个
SpringBoot
应用程序部署在
weblogic12.2
服务器上

当应用程序启动时,我可以在控制台中看到如下内容

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
:: Spring Boot ::        (v2.1.8.RELEASE)

2019-11-05 10:40:09.581  INFO 7660 --- [ (self-tuning)'] o.s.boot.SpringApplication               : Starting application on ...
而且

2019-11-05 10:40:10.982  INFO 7660 --- [ (self-tuning)'] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15ms. Found 1 repository interfaces.
nov. 05, 2019 10:40:12 AM org.hibernate.Version logVersion                                                                
INFO: HHH000412: Hibernate Core {5.3.11.Final}                                                                            
<05-nov.-2019, 10:40:12,878 AM CET> <Info> <org.hibernate.Version> <BEA-000000> <HHH000412: Hibernate Core {5.3.11.Final}>
似乎所有的org.hibernate都没有相同的模式。但我不明白为什么以及如何改变它

我试图通过我的
应用程序更改它。propreties
,但它不起作用。即使使用
logging.level.org.hibernate=off
也没有变化

我的
应用程序.properties
包含

#debug=true
ds1.spring.datasource.jndi-name=...
ds2.spring.datasource.jndi-name=...
# Let Spring autodetect the different SQL Dialects of each datasource
spring.jpa.database=default
# Tells Hibernate to generate SQL's with exactly names as specified in @table or @column
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
# Show sql
spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.format_sql=true
# Show Parameters bindings
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
#spring.jpa.properties.hibernate.type=trace
# Show Extracted data
logging.level.org.hibernate.type.descriptor.sql.BasicExtractor=TRACE

对于
pom.xml
它非常复杂,因为它是一个多模块的项目,我的公司需要很多东西。

你能分享你的pom.xml/gradle.build文件和application.properties文件吗?我编辑了这篇文章。对于pom.xml,您希望看到哪个部分?spring boot应用程序打包在war中,然后打包在ear中。您是否使用log4j2作为日志api?jboss的日志版本是什么?我想记录相关的依赖项。另外,如果可能,发布您的weblogic-application.xml文件。
#debug=true
ds1.spring.datasource.jndi-name=...
ds2.spring.datasource.jndi-name=...
# Let Spring autodetect the different SQL Dialects of each datasource
spring.jpa.database=default
# Tells Hibernate to generate SQL's with exactly names as specified in @table or @column
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
# Show sql
spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.format_sql=true
# Show Parameters bindings
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
#spring.jpa.properties.hibernate.type=trace
# Show Extracted data
logging.level.org.hibernate.type.descriptor.sql.BasicExtractor=TRACE