Prevent log deletion by inactive_node (#802)
* Prevent log deletion by inactive_node if logging.max_size > default value * Clang formatting
This commit is contained in:
parent
f39a3b0118
commit
1880a873b4
1 changed files with 1 additions and 0 deletions
|
@ -4068,6 +4068,7 @@ alarm (*service),
|
|||
work (1, nullptr)
|
||||
{
|
||||
boost::filesystem::create_directories (path);
|
||||
logging.max_size = std::numeric_limits<std::uintmax_t>::max ();
|
||||
logging.init (path);
|
||||
node = std::make_shared<rai::node> (init, *service, 24000, path, alarm, logging, work);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue