Skip to content

Commit 9c881f0

Browse files
committed
change closing idle connection to debug
1 parent dc9bfe6 commit 9c881f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/robaho/net/httpserver/ServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ public void run() {
678678

679679
for (var c : allConnections) {
680680
if (currentTime - c.lastActivityTime >= IDLE_INTERVAL && !c.inRequest) {
681-
logger.log(Level.WARNING, "closing idle connection");
681+
logger.log(Level.DEBUG, "closing idle connection");
682682
closeConnection(c);
683683
// idle.add(c);
684684
} else if (c.noActivity && (currentTime - c.lastActivityTime >= NEWLY_ACCEPTED_CONN_IDLE_INTERVAL)) {

0 commit comments

Comments
 (0)