File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,8 @@ void CheckerComponent::CheckThreadProc()
199
199
<< " Scheduling info for checkable '" << checkable->GetName () << " ' ("
200
200
<< Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , checkable->GetNextCheck ()) << " ): Object '"
201
201
<< csi.Object ->GetName () << " ', Next Check: "
202
- << Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , csi.NextCheck ) << " (" << csi.NextCheck << " )." ;
202
+ << Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , csi.NextCheck )
203
+ << " (" << std::fixed << std::setprecision (0 ) << csi.NextCheck << " )." ;
203
204
204
205
m_PendingCheckables.insert (csi);
205
206
Original file line number Diff line number Diff line change @@ -71,9 +71,11 @@ void Checkable::UpdateNextCheck(const MessageOrigin::Ptr& origin)
71
71
double lastCheck = GetLastCheck ();
72
72
73
73
Log (LogDebug, " Checkable" )
74
+ << std::fixed << std::setprecision (0 )
74
75
<< " Update checkable '" << GetName () << " ' with check interval '" << GetCheckInterval ()
75
76
<< " ' from last check time at " << Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , (lastCheck < 0 ? 0 : lastCheck))
76
- << " (" << GetLastCheck () << " ) to next check time at " << Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , nextCheck) << " (" << nextCheck << " )." ;
77
+ << " (" << lastCheck << " ) to next check time at "
78
+ << Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , nextCheck) << " (" << nextCheck << " )." ;
77
79
78
80
SetNextCheck (nextCheck, false , origin);
79
81
}
You can’t perform that action at this time.
0 commit comments