blob: 3e4d9284dc43265945909a6b36d07ecec8bc086a [file] [log] [blame]
Deepak Kodihallic4966192018-08-23 02:19:58 -05001#include "config.h"
2#include "server-conf.hpp"
3#include <sdbusplus/bus.hpp>
4
5int main(int argc, char *argv[])
6{
7 auto bus = sdbusplus::bus::new_default();
8
9 phosphor::rsyslog_config::Server
10 serverConf(bus,
11 BUSPATH_REMOTE_LOGGING_CONFIG,
12 RSYSLOG_SERVER_CONFIG_FILE);
13
14 bus.request_name(BUSNAME_SYSLOG_CONFIG);
15
16 while(true)
17 {
18 bus.process_discard();
19 bus.wait();
20 }
21
22 return 0;
23}