mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-09-09 12:09:25 +00:00 
			
		
		
		
	ログ修正
This commit is contained in:
		
							parent
							
								
									dccb3090e1
								
							
						
					
					
						commit
						649d6ccfdc
					
				|  | @ -53,8 +53,10 @@ public class DocumentProcessorImpl implements DocumentProcessor{ | ||||||
|         logger.debug("init", "called"); |         logger.debug("init", "called"); | ||||||
|         // Init Variables |         // Init Variables | ||||||
|         this.documentRootPath = documentDetail.getPath().getFullPath(); |         this.documentRootPath = documentDetail.getPath().getFullPath(); | ||||||
|  |         logger.debug("init", "documentRootPath: " + this.documentRootPath); | ||||||
| 
 | 
 | ||||||
|         FileManager fileManager = fileManagerFactory.create(this.documentRootPath); //Initialize FileManager |         FileManager fileManager = fileManagerFactory.create(this.documentRootPath); //Initialize FileManager | ||||||
|  |         logger.debug("init", "fileManager created"); | ||||||
| 
 | 
 | ||||||
|         fileManager.autoCreateDir(this.documentRootPath); |         fileManager.autoCreateDir(this.documentRootPath); | ||||||
| 
 | 
 | ||||||
|  | @ -68,7 +70,7 @@ public class DocumentProcessorImpl implements DocumentProcessor{ | ||||||
|                 xmlMetaModel = xmlMetaParser.deserialize(fileManager.loadDocument("meta.xml")); |                 xmlMetaModel = xmlMetaParser.deserialize(fileManager.loadDocument("meta.xml")); | ||||||
|             } catch (Exception e) { |             } catch (Exception e) { | ||||||
|                 logger.debug("init", "meta.xml parse failed"); |                 logger.debug("init", "meta.xml parse failed"); | ||||||
|                 e.printStackTrace(); |                 logger.trace("init", e.getMessage()); | ||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|             logger.debug("init", "meta.xml not found"); |             logger.debug("init", "meta.xml not found"); | ||||||
|  | @ -82,11 +84,14 @@ public class DocumentProcessorImpl implements DocumentProcessor{ | ||||||
| 
 | 
 | ||||||
|             try { |             try { | ||||||
|                 fileManager.saveDocument(xmlMetaParser.serialize(xmlMetaModel), "meta.xml"); |                 fileManager.saveDocument(xmlMetaParser.serialize(xmlMetaModel), "meta.xml"); | ||||||
|  |                 logger.debug("init", "meta.xml saved"); | ||||||
|             } catch (Exception e) { |             } catch (Exception e) { | ||||||
|                 logger.debug("init", "meta.xml save failed"); |                 logger.error("init", "meta.xml save failed"); | ||||||
|                 e.printStackTrace(); |                 logger.trace("init", e.getMessage()); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  | 
 | ||||||
|  |         logger.info("init", "finished"); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     @Override |     @Override | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user