Project

General

Profile

« Previous | Next » 

Revision 3304

Added by Jing Tao over 17 years ago

Add debug in query method.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
1102 1102
        Logger logMetacat = Logger.getLogger(MetaCatServlet.class);
1103 1103
        logMetacat.warn("Total search time for action 'query': "
1104 1104
                + (outPutTime - startTime));
1105
        MetaCatUtil.writeDebugToFile("---------------------------------------------------------------------------------"+
1106
        		"-------------------------------------------------------------------------------Total search time is "
1107
                + (outPutTime - startTime));
1108
        MetaCatUtil.writeDebugToDelimiteredFile(" "+ (outPutTime - startTime), true);
1105 1109

  
1106 1110
        //handleSQuery(out, params, response,user, groups, sessionid);
1107 1111
    }

Also available in: Unified diff