mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
17 lines
339 B
C++
17 lines
339 B
C++
#include <xrpld/app/main/Application.h>
|
|
#include <xrpld/rpc/detail/Handler.h>
|
|
|
|
#include <xrpl/basics/Log.h>
|
|
#include <xrpl/core/PerfLog.h>
|
|
|
|
namespace xrpl {
|
|
|
|
Json::Value
|
|
doLogRotate(RPC::JsonContext& context)
|
|
{
|
|
context.app.getPerfLog().rotate();
|
|
return RPC::makeObjectValue(context.app.getLogs().rotate());
|
|
}
|
|
|
|
} // namespace xrpl
|