Commits

Zemian Deng committed 82261a1

Tone down WARN to DEBUG for unpare-able version string.

Comments (0)

Files changed (1)

timemachine-scheduler/src/main/java/timemachine/scheduler/support/VersionUtils.java

 								schedulerVersion += "." + new SimpleDateFormat("MMddyyyyHHmm").format(date);
 							}
 						} catch (Exception e) {
-							logger.warn("Unable to read published date string.", e);
+							logger.debug("Unable to read published date string.", e);
 							// Something must be not right in pom.properties, but we will ignore the date part in version string.
 							schedulerVersion += "." + VERSION_UNKNOWN;
 						} finally {
 					}
 				}
 			} catch (Exception e) {
-				logger.warn("Unable to read " + VERSION_FILE, e);
+				logger.debug("Unable to read " + VERSION_FILE, e);
 			}
 		}
 		if (schedulerVersion == null || schedulerVersion.trim().equals("")) {