facebook / facebook/rocksdb

How to correctly identify the logs of multiple DB instances in one process

Open
#11,048 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

> Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

There are multiple DB instances in one process, we overloaded the implementation of Logger. However, it is impossible to accurately determine which DB instance it belongs to through the log

### Expected behavior

Identify which DB instance the log belongs to

### Actual behavior

The logs of all DB instances are printed together through Env::Log

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.