Examples of LogAlert


Examples of org.gudy.azureus2.core3.logging.LogAlert

    }
    if ((renameDecisions & RENAME_SAVEPATH) > 0) {
      try {
        dm.renameDownload(newName);
      } catch (Exception e) {
        Logger.log(new LogAlert(dm, LogAlert.REPEATABLE,
            "Download data rename operation failed", e));
      }
    }
    if ((renameDecisions & RENAME_TORRENT) > 0) {
      try {
        dm.renameTorrentSafe(newName);
      } catch (Exception e) {
        Logger.log(new LogAlert(dm, LogAlert.REPEATABLE,
            "Torrent rename operation failed", e));
      }
    }
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.logging.LogAlert

                  "PRUDPPacketReceiver: receive failed on port " + port + ": ok=" + successful_accepts + ", fails=" + failed_accepts, e));
 
         
            if (( failed_accepts > 100 && successful_accepts == 0 ) || failed_accepts > 1000 ){           
     
              Logger.logTextResource(new LogAlert(LogAlert.UNREPEATABLE,
                  LogAlert.AT_ERROR, "Network.alert.acceptfail"), new String[] {
                  "" + port, "UDP" });
                     
                // break, sometimes get a screaming loop. e.g.
              /*
              [2:01:55]  DEBUG::Tue Dec 07 02:01:55 EST 2004
              [2:01:55]    java.net.SocketException: Socket operation on nonsocket: timeout in datagram socket peek
              [2:01:55]    at java.net.PlainDatagramSocketImpl.peekData(Native Method)
              [2:01:55]    at java.net.DatagramSocket.receive(Unknown Source)
              [2:01:55]    at org.gudy.azureus2.core3.tracker.server.impl.udp.TRTrackerServerUDP.recvLoop(TRTrackerServerUDP.java:118)
              [2:01:55]    at org.gudy.azureus2.core3.tracker.server.impl.udp.TRTrackerServerUDP$1.runSupport(TRTrackerServerUDP.java:90)
              [2:01:55]    at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:45)
              */
             
              init_error  = e;
             
              failed  = true;
            }         
          }
        }
      }
    }catch( Throwable e ){
     
      init_error  = e;
     
      if (!( e instanceof BindException && Constants.isWindowsVistaOrHigher )){
       
        Logger.logTextResource(new LogAlert(LogAlert.UNREPEATABLE,
            LogAlert.AT_ERROR, "Tracker.alert.listenfail"), new String[] { "UDP:"
            + port });
      }
     
      Logger.log(new LogEvent(LOGID, "PRUDPPacketReceiver: "
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.