Skip to content

Commit 9dfd5f5

Browse files
committed
Enable debug logging in test code
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent 1819cb7 commit 9dfd5f5

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@
184184
<version>3.4.1</version>
185185
<scope>test</scope>
186186
</dependency>
187+
<dependency>
188+
<groupId>org.slf4j</groupId>
189+
<artifactId>slf4j-simple</artifactId>
190+
<version>2.0.11</version>
191+
<scope>test</scope>
192+
</dependency>
187193
</dependencies>
188194

189195
<distributionManagement>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SLF4J's SimpleLogger configuration file
2+
# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
3+
# Default logging detail level for all instances of SimpleLogger.
4+
# Must be one of ("trace", "debug", "info", "warn", or "error").
5+
# If not specified, defaults to "info".
6+
org.slf4j.simpleLogger.defaultLogLevel=error
7+
8+
# Logging detail level for a SimpleLogger instance named "xxxxx".
9+
# Must be one of ("trace", "debug", "info", "warn", or "error").
10+
# If not specified, the default logging detail level is used.
11+
#org.slf4j.simpleLogger.log.xxxxx=
12+
org.slf4j.simpleLogger.log.io.securecodebox.persistence.defectdojo=debug
13+
14+
# Set to true if you want the current date and time to be included in output messages.
15+
# Default is false, and will output the number of milliseconds elapsed since startup.
16+
org.slf4j.simpleLogger.showDateTime=false
17+
18+
# The date and time format to be used in the output messages.
19+
# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
20+
# If the format is not specified or is invalid, the default format is used.
21+
# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
22+
#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
23+
24+
# Set to true if you want to output the current thread name.
25+
# Defaults to true.
26+
org.slf4j.simpleLogger.showThreadName=false
27+
28+
# Set to true if you want the Logger instance name to be included in output messages.
29+
# Defaults to true.
30+
#org.slf4j.simpleLogger.showLogName=true
31+
32+
# Set to true if you want the last component of the name to be included in output messages.
33+
# Defaults to false.
34+
#org.slf4j.simpleLogger.showShortLogName=false

0 commit comments

Comments
 (0)