#include <folly/Exception.h>
#include <folly/FileUtil.h>
#include <folly/experimental/logging/LoggerDB.h>
+#include <folly/system/ThreadName.h>
using folly::File;
using folly::StringPiece;
}
void AsyncFileWriter::ioThread() {
+ folly::setThreadName("log_writer");
+
while (true) {
// With the lock held, grab a pointer to the current queue, then increment
// the ioThreadCounter index so that other threads will write into the