Revision 5161
Added by daigle about 15 years ago
src/edu/ucsb/nceas/metacat/ContentTypeProvider.java | ||
---|---|---|
410 | 410 |
contains(packType)) |
411 | 411 |
{ |
412 | 412 |
//this is beta4 or beta6 version |
413 |
logMetacat.warn("This is beta package");
|
|
413 |
logMetacat.info("This is beta package");
|
|
414 | 414 |
packageType = BETA; |
415 | 415 |
} |
416 | 416 |
else if ((MetacatUtil.getOptionList |
417 | 417 |
(PropertyService.getProperty("xml.eml2_0_0namespace"))).contains(packType)) |
418 | 418 |
{ |
419 | 419 |
// this eml 2 document |
420 |
logMetacat.warn("This is EML2.0.0 package");
|
|
420 |
logMetacat.info("This is EML2.0.0 package");
|
|
421 | 421 |
packageType = EML2; |
422 | 422 |
} |
423 | 423 |
else if ((MetacatUtil.getOptionList |
424 | 424 |
(PropertyService.getProperty("xml.eml2_0_1namespace"))).contains(packType)) |
425 | 425 |
{ |
426 | 426 |
// this eml 2 document |
427 |
logMetacat.warn("This is EML2.0.1 package");
|
|
427 |
logMetacat.info("This is EML2.0.1 package");
|
|
428 | 428 |
packageType = EML2; |
429 | 429 |
} |
430 | 430 |
|
... | ... | |
544 | 544 |
DBConnectionPool.returnDBConnection(conn, serialNumber); |
545 | 545 |
} |
546 | 546 |
}//finally |
547 |
logMetacat.warn("target docid is: "+ docId + " "+
|
|
547 |
logMetacat.info("target docid is: "+ docId + " "+
|
|
548 | 548 |
"for target doctype: "+targetType); |
549 | 549 |
return docId; |
550 | 550 |
} |
... | ... | |
656 | 656 |
//ContentTypeProvider provider = new ContentTypeProvider("tao.9830"); |
657 | 657 |
ContentTypeProvider provider = new ContentTypeProvider("tao.0001"); |
658 | 658 |
String str = provider.getContentType(); |
659 |
logMetacat.warn("content type is : " + str);
|
|
659 |
logMetacat.info("content type is : " + str);
|
|
660 | 660 |
} |
661 | 661 |
catch(Exception e) |
662 | 662 |
{ |
Also available in: Unified diff
Change warn messages to info