Move "sparkd launched" into run command

This commit is contained in:
Eric Harding committed 2017-10-24 10:26:53 -04:00
1 parent 77aca8f2ac
commit 2b9e862a1d
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -7,6 +7,7 @@
#include "lib/quickbus/quickbus.h"
#include "lib/api/public/ServiceContext.h"
#include "lib/os/os.h"
#include "lib/logging/logging.h"
#include "server/sparkd/persistence/PersistenceServiceServer.h"
#include "server/sparkd/user/UserServiceServer.h"
@@ -25,6 +26,7 @@ namespace cmd {
int Run::execute(std::vector<std::string> const &)
{
using namespace bts;
LOG(Gen,Warn,"------------------------------------ Sparkd launched --------------------------------");
config::QuickbusNodeCfg qb_cfg;
qb_cfg.set_my_port(config::get<config::Ports>().qbus_port());
-1
View File
@@ -27,7 +27,6 @@ int main( int argc, const char*argv[] )
os::set_thread_name("main");
utils::init_spark_lib();
LOG(Gen,Warn,"------------------------------------ Sparkd launched --------------------------------");
BEGIN_CMD;
REGISTER (Test);