Skip to content

Commit c252280

Browse files
committed
Don't close bufferedwriter
1 parent 6d277d2 commit c252280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontEnd/serverSide/WSInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public void logEvent(@HeaderParam("uid") String uid,
221221

222222
System.out.println("["+time+"]\t["+uid+"]\t["+event+"]\t"+message+"\n");
223223
output.write("["+time+"]\t["+uid+"]\t["+event+"]\t"+message+"\n");
224-
output.close();
224+
output.flush();
225225
}
226226

227227
/**

0 commit comments

Comments
 (0)