Skip to content

emit logs that are only useful for debugging at debug level#6741

Merged
asdf2014 merged 3 commits intoapache:masterfrom
clintropolis:debug-logs-at-debug-level
Dec 17, 2018
Merged

emit logs that are only useful for debugging at debug level#6741
asdf2014 merged 3 commits intoapache:masterfrom
clintropolis:debug-logs-at-debug-level

Conversation

@clintropolis
Copy link
Copy Markdown
Member

This should make log volume a bit more chill.

Any other requests for making things a bit quieter?

@fjy fjy added this to the 0.14.0 milestone Dec 16, 2018
Copy link
Copy Markdown
Member

@asdf2014 asdf2014 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asdf2014 asdf2014 merged commit 486c6f3 into apache:master Dec 17, 2018
@clintropolis clintropolis deleted the debug-logs-at-debug-level branch December 17, 2018 22:09
mergeBufferTotalSize += bufferAllocation.rhs;
ByteBufferUtils.free(bufferAllocation.lhs);
}
log.info("Freed [,%d] bytes of dictionary merging direct buffers", mergeBufferTotalSize);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo, should be %,d

LOG.info(
"Submitted a compactTask[%s] for segments[%s]",
taskId,
segmentsToCompact.stream().map(DataSegment::getIdentifier).collect(Collectors.joining(","))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This joiner thing looks like it would be a good utility function. Including a space after the comma would be a good idea, too, I think, since it visually spaces them out a bit more and would make the log line easier on the eyes.

@clintropolis clintropolis mentioned this pull request Dec 18, 2018
gianm pushed a commit to implydata/druid-public that referenced this pull request Dec 18, 2018
)

* make logs that are only useful for debugging be at debug level so log volume is much more chill

* info level messages for total merge buffer allocated/free

* more chill compaction logs
gianm pushed a commit to implydata/druid-public that referenced this pull request Feb 15, 2019
)

* make logs that are only useful for debugging be at debug level so log volume is much more chill

* info level messages for total merge buffer allocated/free

* more chill compaction logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants