Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
Logging Log4j2
Commits
1357d5b7
Commit
1357d5b7
authored
4 years ago
by
Ralph Goers
Browse files
Options
Download
Email Patches
Plain Diff
I hate windows
parent
a8e654af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingDirectSizeTimeNewDirectoryTest.java
+2
-1
...pender/rolling/RollingDirectSizeTimeNewDirectoryTest.java
with
2 additions
and
1 deletion
+2
-1
log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingDirectSizeTimeNewDirectoryTest.java
+
2
-
1
View file @
1357d5b7
...
...
@@ -21,6 +21,7 @@ import java.util.Comparator;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.concurrent.atomic.AtomicInteger
;
import
java.util.regex.Pattern
;
import
org.apache.logging.log4j.Logger
;
import
org.apache.logging.log4j.core.appender.RollingFileAppender
;
...
...
@@ -42,7 +43,7 @@ public class RollingDirectSizeTimeNewDirectoryTest implements RolloverListener {
// Note that the path is hardcoded in the configuration!
private
static
final
String
DIR
=
"target/rolling-size-time-new-directory"
;
private
static
final
String
FILESEP
=
System
.
getProperty
(
"file.separator"
);
private
static
final
String
FILESEP
=
Pattern
.
quote
(
System
.
getProperty
(
"file.separator"
)
)
;
public
static
LoggerContextRule
loggerContextRule
=
LoggerContextRule
.
createShutdownTimeoutLoggerContextRule
(
CONFIG
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help