-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: for clarity, change DLOG to VLOG #3057
Conversation
@@ -27,12 +27,11 @@ BuddyAllocator::BuddyAllocator(SystemAllocator* system_allocator, | |||
system_allocator_(std::move(system_allocator)) {} | |||
|
|||
BuddyAllocator::~BuddyAllocator() { | |||
DLOG(INFO) << "BuddyAllocator Disconstructor makes sure that all of these " | |||
"have actually been freed"; | |||
VLOG(3) << "BuddyAllocator Disconstructor makes sure that all of these " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do 3
has a common meaning? or maybe a uniform definition
enum {
LOW = 0,
DEBUG0 = 1,
DEBUG1 = 2,
DEBUG2 = 3
};
VLOG(DEBUG2) << "some info";
better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vaguely remember that 3 is the right choice because what we need to do is to run paddle with --log_level=3
command parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -27,12 +27,11 @@ BuddyAllocator::BuddyAllocator(SystemAllocator* system_allocator, | |||
system_allocator_(std::move(system_allocator)) {} | |||
|
|||
BuddyAllocator::~BuddyAllocator() { | |||
DLOG(INFO) << "BuddyAllocator Disconstructor makes sure that all of these " | |||
"have actually been freed"; | |||
VLOG(3) << "BuddyAllocator Disconstructor makes sure that all of these " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vaguely remember that 3 is the right choice because what we need to do is to run paddle with --log_level=3
command parameter.
No description provided.