Skip to content

Scoped context #2438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ensure unit test uses a unique file name
  • Loading branch information
rgoers committed Apr 4, 2024
commit b26c2e278143b7e967a01e5b7414419dbb6de9be
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/
public class JsonRoutingAppender2Test {
private static final String CONFIG = "log4j-routing2.json";
private static final String LOG_FILENAME = "target/rolling1/rollingtest-Unknown.log";
private static final String LOG_FILENAME = "target/rolling1/routingtest2-Unknown.log";

private final LoggerContextRule loggerContextRule = new LoggerContextRule(CONFIG);

Expand Down
2 changes: 1 addition & 1 deletion log4j-core-test/src/test/resources/log4j-routing2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
{ "configuration": { "status": "error", "name": "RoutingTest",
"properties": {
"property": { "name": "filename", "value" : "target/rolling1/rollingtest-$${sd:type}.log" }
"property": { "name": "filename", "value" : "target/rolling1/routingtest2-$${sd:type}.log" }
},
"ThresholdFilter": { "level": "debug" },
"appenders": {
Expand Down