You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/11/30 07:07:20 UTC

[GitHub] [cloudstack] harikrishna-patnala commented on a diff in pull request #6925: Add and improve logs in snapshot scheduling

harikrishna-patnala commented on code in PR #6925:
URL: https://github.com/apache/cloudstack/pull/6925#discussion_r1035595830


##########
server/src/main/java/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java:
##########
@@ -264,45 +264,29 @@ protected void deleteExpiredVMSnapshots() {
     @DB
     protected void scheduleSnapshots() {
         String displayTime = DateUtil.displayDateInTimezone(DateUtil.GMT_TIMEZONE, _currentTimestamp);
-        s_logger.debug("Snapshot scheduler.poll is being called at " + displayTime);
+        s_logger.trace(String.format("Snapshot scheduler is being called at [%s].", displayTime));

Review Comment:
   may be debug is more helpful to know when the scheduler has started !



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org