Project

General

Profile

« Previous | Next » 

Revision 3259

Added by Jing Tao over 17 years ago

Change the debug level for timing

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
1070 1070
        queryobj.findDocuments(response, out, params, user, groups, sessionid);
1071 1071
        double outPutTime = System.currentTimeMillis() / 1000;
1072 1072
        Logger logMetacat = Logger.getLogger(MetaCatServlet.class);
1073
        logMetacat.info("========Total search time for action 'squery': "
1073
        logMetacat.warn("========Total search time for action 'squery': "
1074 1074
                + (outPutTime - startTime));
1075 1075
    }
1076 1076

  
......
1096 1096
        queryobj.findDocuments(response, out, params, user, groups, sessionid);
1097 1097
        double outPutTime = System.currentTimeMillis() / 1000;
1098 1098
        Logger logMetacat = Logger.getLogger(MetaCatServlet.class);
1099
        logMetacat.info("Total search time for action 'query': "
1099
        logMetacat.warn("Total search time for action 'query': "
1100 1100
                + (outPutTime - startTime));
1101 1101

  
1102 1102
        //handleSQuery(out, params, response,user, groups, sessionid);

Also available in: Unified diff