Logging ignore connections lost

Discussion in 'Archived: Plugin Requests' started by Incendia, Jun 21, 2011.

  1. Offline

    Incendia

    I use monit to keep my server up, checking for a connection to make sure it's not hung, etc. Problem is I get stuff like this spammed into the console because of the connection test:

    Code:
    13:59:23 [INFO] /*.*.155.202:34182 lost connection
    14:00:27 [INFO] /*.*.155.202:34186 lost connection
    14:01:31 [INFO] /*.*.155.202:34190 lost connection
    14:02:35 [INFO] /*.*.155.202:34194 lost connection
    14:03:39 [INFO] /*.*.155.202:34198 lost connection
    14:04:43 [INFO] /*.*.155.202:48980 lost connection
    14:05:47 [INFO] /*.*.155.202:48984 lost connection
    14:06:51 [INFO] /*.*.155.202:48988 lost connection
    14:07:55 [INFO] /*.*.155.202:48992 lost connection
    14:08:59 [INFO] /*.*.155.202:48996 lost connection
    14:10:03 [INFO] /*.*.155.202:54683 lost connection
    14:11:07 [INFO] /*.*.155.202:54687 lost connection
    14:12:11 [INFO] /*.*.155.202:54691 lost connection
    14:13:15 [INFO] /*.*.155.202:54695 lost connection
    14:14:19 [INFO] /*.*.155.202:34942 lost connection
    14:15:23 [INFO] /*.*.155.202:34946 lost connection
    14:16:27 [INFO] /*.*.155.202:34950 lost connection
    14:17:31 [INFO] /*.*.155.202:34954 lost connection
    14:18:35 [INFO] /*.*.155.202:34958 lost connection
    
    What I'm requesting is a plugin to prevent either specific ips from logging lost connections (to console and file), or just preventing the messages altogether.
     
  2. Offline

    WinSock

    I just made this quickly, this will make nothing log from the time it loads to the time you unload it.
     

    Attached Files:

  3. Offline

    Incendia

    Thanks, but that isn't really what I want at all. I only want the connection lost messages removed, not everything.
     
  4. Offline

    WinSock

    Incendia likes this.
  5. Offline

    Incendia

Share This Page