diff --git a/utils/fgai/fgai.cxx b/utils/fgai/fgai.cxx index f720b5dc3..4948693d4 100644 --- a/utils/fgai/fgai.cxx +++ b/utils/fgai/fgai.cxx @@ -18,7 +18,10 @@ #include #endif +#include + #include +#include #include "AIObject.hxx" #include "AIManager.hxx" @@ -547,8 +550,8 @@ main(int argc, char* argv[]) manager->setFederationObjectModel(optarg); break; case 'p': - logbuf::set_log_classes(SG_ALL); - logbuf::set_log_priority(sgDebugPriority(atoi(optarg))); + sglog().set_log_classes(SG_ALL); + sglog().set_log_priority(sgDebugPriority(atoi(optarg))); break; case 'R': manager->setTimeRegulating(true);