Move "sparkd launched" into run command
This commit is contained in:
1 parent
77aca8f2ac
commit
2b9e862a1d
2 files changed
+2
-1
No files matched your search
@@ -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());
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user