From: <th...@us...> - 2010-04-09 18:59:05
|
Revision: 1798 http://azsmrc.svn.sourceforge.net/azsmrc/?rev=1798&view=rev Author: the8472 Date: 2010-04-09 18:58:59 +0000 (Fri, 09 Apr 2010) Log Message: ----------- forgot to turn off logging Modified Paths: -------------- mldht/trunk/DHTIndexer.jar mldht/trunk/lbms/plugins/mldht/indexer/IndexingService.java Modified: mldht/trunk/DHTIndexer.jar =================================================================== (Binary files differ) Modified: mldht/trunk/lbms/plugins/mldht/indexer/IndexingService.java =================================================================== --- mldht/trunk/lbms/plugins/mldht/indexer/IndexingService.java 2010-04-09 18:58:04 UTC (rev 1797) +++ mldht/trunk/lbms/plugins/mldht/indexer/IndexingService.java 2010-04-09 18:58:59 UTC (rev 1798) @@ -77,12 +77,12 @@ } }); - final PrintWriter hashWriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(new FileOutputStream("./infohashQueries.log",true))),true); + //final PrintWriter hashWriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(new FileOutputStream("./infohashQueries.log",true))),true); DHTIndexingListener listener = new DHTIndexingListener() { @Override public void incomingPeersRequest(Key infoHash, InetAddress sourceAddress, Key nodeID) { - hashWriter.println(infoHash.toString(false)+"\tfrom: "+sourceAddress.getHostAddress()+"/"+nodeID.toString(false)); + //hashWriter.println(infoHash.toString(false)+"\tfrom: "+sourceAddress.getHostAddress()+"/"+nodeID.toString(false)); Session session = HibernateUtil.getSessionFactory().openSession(); Transaction tx = session.beginTransaction(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |