Andrew Grant 3 сар өмнө
parent
commit
7991afbbc8

+ 2 - 2
src/main/java/scot/carricksoftware/grants/services/census/censusentry/UpdateRecordedYearOfBirthImpl.java

@@ -44,7 +44,7 @@ public class UpdateRecordedYearOfBirthImpl implements UpdateRecordedYearOfBirth
                     Integer age = Integer.valueOf(censusEntryCommand.getAge());
                     updateDate(person, String.valueOf(year - age));
                 } catch (NumberFormatException e) {
-                    logger.debug(" -- Age cannot be parsed");
+                    logger.info(" -- Age cannot be parsed");
                 }
             } else {
                 PersonCommand personCommand = personConverter.convert(person);
@@ -63,7 +63,7 @@ public class UpdateRecordedYearOfBirthImpl implements UpdateRecordedYearOfBirth
             personCommand.setRecordedYearOfBirth(dateString);
             personService.savePersonCommand(personCommand);
         } else {
-            logger.debug(" -- Person Command is null.");
+            logger.info(" -- Person Command is null.");
         }
     }
 

+ 2 - 2
src/main/java/scot/carricksoftware/grants/services/certificates/birthcertificates/UpdateCertifiedYearOfBirthImpl.java

@@ -47,7 +47,7 @@ public class UpdateCertifiedYearOfBirthImpl implements UpdateCertifiedYearOfBirt
 
     private void updateDate(Person person,
                             String certifiedYearOfBirth) {
-        logger.debug("UpdateRecordedYearOfBirthImpl::UpdateDate");
+        logger.info("UpdateRecordedYearOfBirthImpl::UpdateDate");
         PersonCommand personCommand = personConverter.convert(person);
         if (personCommand != null) {
             personCommand.setCertifiedYearOfBirth(certifiedYearOfBirth);
@@ -58,7 +58,7 @@ public class UpdateCertifiedYearOfBirthImpl implements UpdateCertifiedYearOfBirt
     }
 
     private void logNoCommandError() {
-        logger.debug("PersonCommand = null.");
+        logger.info("PersonCommand = null.");
     }
 
 

+ 1 - 1
src/main/java/scot/carricksoftware/grants/services/certificates/deathcertificates/UpdateCertifiedYearOfDeathImpl.java

@@ -58,7 +58,7 @@ public class UpdateCertifiedYearOfDeathImpl implements UpdateCertifiedYearOfDeat
     }
 
     private void logNoCommandError() {
-        logger.debug("PersonCommand = null.");
+        logger.info("PersonCommand = null.");
     }
 
 }