Project

General

Profile

« Previous | Next » 

Revision 1498

Added by Jing Tao almost 22 years ago

Change debugMessage

View differences:

src/edu/ucsb/nceas/metacat/MetacatReplication.java
372 372
      {
373 373
        MetaCatUtil.debugMessage("Error in " + 
374 374
                "MetacatReplication.handleServerControlRequest to close pstmt "
375
                 + ee.getMessage());
375
                 + ee.getMessage(), 30);
376 376
      }//catch
377 377
      finally
378 378
      {
......
1111 1111
      }
1112 1112
      
1113 1113
      doclist.append("</updates></replication>");
1114
      MetaCatUtil.debugMessage("doclist: " + doclist.toString());
1114
      MetaCatUtil.debugMessage("doclist: " + doclist.toString(), 40);
1115 1115
      pstmt.close();
1116 1116
      //conn.close();
1117 1117
      response.setContentType("text/xml");
......
1270 1270
      Thread.sleep(30000); //the lock will expire in 30 seconds
1271 1271
      MetaCatUtil.debugMessage("thread for docid: " + 
1272 1272
                             (String)fileLocks.elementAt(fileLocks.size() - 1) + 
1273
                              " exiting.");
1273
                              " exiting.", 45);
1274 1274
      
1275 1275
      fileLocks.remove(fileLocks.size() - 1);
1276 1276
      //fileLocks is treated as a FIFO queue.  If there are more than one lock
......
1279 1279
    catch(Exception e)
1280 1280
    {
1281 1281
      MetaCatUtil.debugMessage("error in file lock thread from " + 
1282
                                  "MetacatReplication.run: " + e.getMessage());
1282
                                "MetacatReplication.run: " + e.getMessage(), 30);
1283 1283
    }
1284 1284
  }
1285 1285
  

Also available in: Unified diff