Skip to content

Commit b03d1cd

Browse files
author
Robert Engels
committed
add logging for devnull
1 parent 2a197db commit b03d1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/extras/SimpleFileServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static void main(String[] args) throws Exception {
7272
c1.getFilters().add(new LogFilter(new File(logfile)));
7373

7474
HttpContext c2 = server.createContext("/devnull", h2);
75-
c1.getFilters().add(new LogFilter(new File(logfile)));
75+
c2.getFilters().add(new LogFilter(new File(logfile)));
7676

7777
server.setExecutor(Executors.newCachedThreadPool());
7878
server.start();

0 commit comments

Comments
 (0)