blob: a3b26a34540012164b139d3a02c7be6e97bd5b69 [file] [log] [blame]
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/manager.hpp>
#include "config.h"
#include "log_manager.hpp"
int main(int argc, char *argv[])
{
auto bus = sdbusplus::bus::new_default();
// Add sdbusplus ObjectManager for the 'root' path of the logging manager.
sdbusplus::server::manager::manager objManager(bus, OBJ_LOGGING);
phosphor::logging::Manager manager(bus, OBJ_INTERNAL);
bus.request_name(BUSNAME_LOGGING);
while(true)
{
bus.process_discard();
bus.wait();
}
return 0;
}