Project

General

Profile

« Previous | Next » 

Revision 2668

Added by sgarg over 18 years ago

Changes in log levels of some commands mentioned in the previos commit.

View differences:

DocumentImpl.java
2861 2861
            String parserName = MetaCatUtil.getOption("saxparser");
2862 2862
            parser = XMLReaderFactory.createXMLReader(parserName);
2863 2863
            if (ruleBase != null && ruleBase.equals(EML200)) {
2864
                logMetacat.warn("eml 2.0.0 parser");
2864
                logMetacat.warn("Using eml 2.0.0 parser");
2865 2865
                chandler = new Eml200SAXHandler(dbconn, action, docid, rev,
2866 2866
                        user, groups, pub, serverCode, createDate, updateDate);
2867 2867
                chandler.setIsRevisionDoc(isRevision);
......
2886 2886
                            externalSchemaLocation);
2887 2887
                }
2888 2888
            } else if (ruleBase != null && ruleBase.equals(EML210)) {
2889
                logMetacat.warn("eml 2.1.0 parser");
2889
                logMetacat.warn("Using eml 2.1.0 parser");
2890 2890
                chandler = new Eml210SAXHandler(dbconn, action, docid, rev,
2891 2891
                        user, groups, pub, serverCode, createDate, updateDate);
2892 2892
                chandler.setIsRevisionDoc(isRevision);
......
2923 2923

  
2924 2924
                if (ruleBase != null && ruleBase.equals(SCHEMA)
2925 2925
                        && needValidation) {
2926
                    logMetacat.warn("General schema parser");
2926
                    logMetacat.warn("Using General schema parser");
2927 2927
                    // turn on schema validation feature
2928 2928
                    parser.setFeature(VALIDATIONFEATURE, true);
2929 2929
                    parser.setFeature(NAMESPACEFEATURE, true);
......
2944 2944

  
2945 2945
                } else if (ruleBase != null && ruleBase.equals(DTD)
2946 2946
                        && needValidation) {
2947
                    logMetacat.warn("dtd parser");
2947
                    logMetacat.warn("Using dtd parser");
2948 2948
                    // turn on dtd validaton feature
2949 2949
                    parser.setFeature(VALIDATIONFEATURE, true);
2950 2950
                    eresolver = new DBEntityResolver(dbconn,
......
2953 2953
                    parser.setEntityResolver((EntityResolver) eresolver);
2954 2954
                    parser.setDTDHandler((DTDHandler) dtdhandler);
2955 2955
                } else {
2956
                    logMetacat.warn("other parser");
2956
                    logMetacat.warn("Using other parser");
2957 2957
                    // non validation
2958 2958
                    parser.setFeature(VALIDATIONFEATURE, false);
2959 2959
                    eresolver = new DBEntityResolver(dbconn,
......
3067 3067
    private static void moveNodesToNodesRevision(DBConnection dbconn,
3068 3068
                                       long rootNodeId) throws Exception
3069 3069
    {
3070
        logMetacat.warn("the root node id is "+rootNodeId+
3070
        logMetacat.info("the root node id is "+rootNodeId+
3071 3071
                " will be moved from xml_nodes to xml_node_revision table");
3072 3072
        PreparedStatement pstmt = null;
3073 3073
        // Move the nodes from xml_nodes to xml_revisions table...

Also available in: Unified diff