• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andrey-vasilyev / spring-boot-starter-log4jdbc / #54

11 Mar 2025 08:53AM CUT coverage: 100.0%. Remained the same
#54

push

github

web-flow
Bump org.springframework.boot:spring-boot-dependencies (#60)

Bumps [org.springframework.boot:spring-boot-dependencies](https://github.com/spring-projects/spring-boot) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.4.2...v3.4.3)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

13 of 13 relevant lines covered (100.0%)

1.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/main/java/ru/vasiand/spring/boot/log4jdbc/Log4jdbcAutoConfiguration.java
1
package ru.vasiand.spring.boot.log4jdbc;
2

3
import net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy;
4
import org.springframework.boot.autoconfigure.AutoConfiguration;
5
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
6
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
7
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
8
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
9
import org.springframework.boot.context.properties.EnableConfigurationProperties;
10
import org.springframework.context.annotation.Bean;
11

12
/**
13
 * {@link EnableAutoConfiguration Auto-configuration} for log4jdbc.
14
 *
15
 */
16
@AutoConfiguration(after = DataSourceAutoConfiguration.class)
17
@EnableConfigurationProperties(Log4jdbcProperties.class)
18
@ConditionalOnClass(DataSourceSpy.class)
19
@ConditionalOnProperty(name = "log4jdbc.spy.enabled", havingValue = "true", matchIfMissing = true)
20
public class Log4jdbcAutoConfiguration {
1✔
21

22
    @Bean
23
    public static Log4jdbcBeanPostProcessor log4jdbcBeanPostProcessor() {
24
        return new Log4jdbcBeanPostProcessor();
1✔
25
    }
26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc