blob: c5e426b5addd2568fa2a5dab918fd9c79e394fd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "config.h"
#include "log_manager.hpp"
#include <sdbusplus/bus.hpp>
#include <cstdlib>
#include <iostream>
#include <exception>
int main(int argc, char *argv[])
{
try {
auto manager = phosphor::logging::Manager(
sdbusplus::bus::new_system(),
BUSNAME_LOGGING,
OBJ_INTERNAL);
manager.run();
exit(EXIT_SUCCESS);
}
catch (const std::exception &e) {
std::cerr << e.what() << std::endl;
}
exit(EXIT_FAILURE);
}
|