Some logging changes
This commit is contained in:
parent
1684c86a60
commit
0bd94eeebf
3 changed files with 30 additions and 15 deletions
|
|
@ -116,7 +116,7 @@ public class Templator {
|
|||
public String compile(){
|
||||
if(file != null && lastModified != file.lastModified()){
|
||||
try {
|
||||
log.info("Template file changed. Regenerating template...");
|
||||
log.info("Template file("+file.getName()+") changed. Regenerating template...");
|
||||
parseTemplate(FileUtil.getContent(file));
|
||||
this.lastModified = file.lastModified();
|
||||
} catch(IOException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue