| 78 | #endif |
| 79 | |
| 80 | bool validHome(const std::string &home_path) { |
| 81 | struct stat stat_result { }; |
| 82 | const std::string properties_file_path = utils::file::FileUtils::concat_path(home_path, DEFAULT_NIFI_PROPERTIES_FILE); |
| 83 | return stat(properties_file_path.c_str(), &stat_result) == 0; |
| 84 | } |
| 85 | |
| 86 | void setSyslogLogger() { |
| 87 | std::shared_ptr<logging::LoggerProperties> service_logger = std::make_shared<logging::LoggerProperties>(); |
no test coverage detected