mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 15:35:50 +00:00
Hardcode the log style as json
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -690,8 +690,7 @@ Config::loadFromString(std::string const& fileContents)
|
|||||||
if (getSingleSection(secConfig, SECTION_DEBUG_LOGFILE, strTemp, j_))
|
if (getSingleSection(secConfig, SECTION_DEBUG_LOGFILE, strTemp, j_))
|
||||||
DEBUG_LOGFILE = strTemp;
|
DEBUG_LOGFILE = strTemp;
|
||||||
|
|
||||||
if (getSingleSection(secConfig, SECTION_LOG_STYLE, strTemp, j_))
|
LOG_STYLE = LogStyle::Json;
|
||||||
LOG_STYLE = LogStyle::fromString(strTemp);
|
|
||||||
|
|
||||||
if (getSingleSection(secConfig, SECTION_SWEEP_INTERVAL, strTemp, j_))
|
if (getSingleSection(secConfig, SECTION_SWEEP_INTERVAL, strTemp, j_))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user