Add config_recoverer log tag.
GitOrigin-RevId: f0d757f9bc5079a47c5896322c4b7512a9451492
This commit is contained in:
parent
cc1cb263fd
commit
b1a1b332c7
@ -50,7 +50,7 @@
|
||||
|
||||
namespace td {
|
||||
|
||||
static int VERBOSITY_NAME(config_recoverer) = VERBOSITY_NAME(INFO);
|
||||
int VERBOSITY_NAME(config_recoverer) = VERBOSITY_NAME(INFO);
|
||||
|
||||
Result<SimpleConfig> decode_config(Slice input) {
|
||||
static auto rsa = td::RSA::from_pem(
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
namespace td {
|
||||
|
||||
extern int VERBOSITY_NAME(config_recoverer);
|
||||
|
||||
class ConfigShared;
|
||||
|
||||
using SimpleConfig = tl_object_ptr<telegram_api::help_configSimple>;
|
||||
|
@ -6,6 +6,7 @@
|
||||
//
|
||||
#include "td/telegram/Logging.h"
|
||||
|
||||
#include "td/telegram/ConfigManager.h"
|
||||
#include "td/telegram/files/FileGcWorker.h"
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
#include "td/telegram/net/ConnectionCreator.h"
|
||||
@ -34,11 +35,11 @@ static NullLog null_log;
|
||||
#define ADD_TAG(tag) \
|
||||
{ #tag, &VERBOSITY_NAME(tag) }
|
||||
static const std::map<Slice, int *> log_tags{
|
||||
ADD_TAG(td_init), ADD_TAG(update_file), ADD_TAG(connections), ADD_TAG(binlog),
|
||||
ADD_TAG(proxy), ADD_TAG(net_query), ADD_TAG(td_requests), ADD_TAG(dc),
|
||||
ADD_TAG(files), ADD_TAG(mtproto), ADD_TAG(raw_mtproto), ADD_TAG(fd),
|
||||
ADD_TAG(actor), ADD_TAG(buffer), ADD_TAG(sqlite), ADD_TAG(notifications),
|
||||
ADD_TAG(get_difference), ADD_TAG(file_gc)};
|
||||
ADD_TAG(td_init), ADD_TAG(update_file), ADD_TAG(connections), ADD_TAG(binlog),
|
||||
ADD_TAG(proxy), ADD_TAG(net_query), ADD_TAG(td_requests), ADD_TAG(dc),
|
||||
ADD_TAG(files), ADD_TAG(mtproto), ADD_TAG(raw_mtproto), ADD_TAG(fd),
|
||||
ADD_TAG(actor), ADD_TAG(buffer), ADD_TAG(sqlite), ADD_TAG(notifications),
|
||||
ADD_TAG(get_difference), ADD_TAG(file_gc), ADD_TAG(config_recoverer)};
|
||||
#undef ADD_TAG
|
||||
|
||||
Status Logging::set_current_stream(td_api::object_ptr<td_api::LogStream> stream) {
|
||||
|
Loading…
Reference in New Issue
Block a user