File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,4 @@ src/main/resources/static/css/
31
31
src /main /resources /static /favicon.ico
32
32
src /main /resources /static /js /
33
33
src /main /resources /templates /index.html
34
+ spy.log
Original file line number Diff line number Diff line change 24
24
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
25
25
<java .version>1.8</java .version>
26
26
<commons-io .version>2.6</commons-io .version>
27
+ <p6spy .version>3.7.0</p6spy .version>
27
28
</properties >
28
29
29
30
<dependencies >
70
71
<artifactId >freemarker</artifactId >
71
72
</dependency >
72
73
74
+ <dependency >
75
+ <groupId >p6spy</groupId >
76
+ <artifactId >p6spy</artifactId >
77
+ <version >${p6spy.version} </version >
78
+ </dependency >
79
+
73
80
<dependency >
74
81
<groupId >org.springframework.boot</groupId >
75
82
<artifactId >spring-boot-devtools</artifactId >
Original file line number Diff line number Diff line change
1
+ driverlist =com.mysql.jdbc.Driver
2
+ logfile =spy.log
3
+ dateformat =yyyy-MM-dd HH:mm:ss.SS
4
+ logMessageFormat =com.p6spy.engine.spy.appender.CustomLineFormat
5
+ customLogMessageFormat =- %(currentTime) | took %(executionTime)ms | connection %(connectionId) \nEXPLAIN %(sql); \n
6
+ filter =true
7
+ exclude =select 1 from dual
You can’t perform that action at this time.
0 commit comments