| 461 | } |
| 462 | |
| 463 | void logSystemAndConfig() |
| 464 | { |
| 465 | QLOG_INFO() << "---------- System & configuration ----------"; |
| 466 | auto globalInfo = YACReader::getGlobalInfo(); |
| 467 | for (const auto &line : globalInfo.split("\n")) { |
| 468 | QLOG_INFO() << line; |
| 469 | } |
| 470 | |
| 471 | auto libraries = DBHelper::getLibraries().getLibraries(); |
| 472 | QLOG_INFO() << "Libraries: "; |
| 473 | for (auto library : libraries) { |
| 474 | QLOG_INFO() << " " << library; |
| 475 | auto access = DataBaseManagement::getDatabaseAccess(library.getPath()); |
| 476 | QLOG_INFO() << " > STATUS: " << access; |
| 477 | } |
| 478 | QLOG_INFO() << "--------------------------------------------"; |
| 479 | } |
| 480 | |
| 481 | void printServerInfo(YACReaderHttpServer *httpServer) |
| 482 | { |
no test coverage detected