Skip to content

Commit 30e556d

Browse files
committed
Use vlog instead.
1 parent eb46845 commit 30e556d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/platform/device_tracer.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class DeviceTracerImpl : public DeviceTracer {
201201
uint32_t correlation_id, uint64_t bytes) {
202202
// 0 means timestamp information could not be collected for the kernel.
203203
if (start_ns == 0 || end_ns == 0) {
204-
LOG(WARNING) << name << " cannot be traced";
204+
VLOG(3) << name << " cannot be traced";
205205
return;
206206
}
207207
std::lock_guard<std::mutex> l(trace_mu_);
@@ -213,7 +213,7 @@ class DeviceTracerImpl : public DeviceTracer {
213213
uint32_t stream_id, uint32_t correlation_id) {
214214
// 0 means timestamp information could not be collected for the kernel.
215215
if (start == 0 || end == 0) {
216-
LOG(WARNING) << correlation_id << " cannot be traced";
216+
VLOG(3) << correlation_id << " cannot be traced";
217217
return;
218218
}
219219
std::lock_guard<std::mutex> l(trace_mu_);

0 commit comments

Comments
 (0)