Commit 0958f50b authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Renamed tapeserverd daemon name to the cta-tapeserverd

parent 78032a7b
......@@ -59,7 +59,7 @@ TEST_F(castor_tape_tapeserver_daemon_ProcessForkerTest, constructor) {
const std::string programName = "unittests";
const std::string hostName = "hostName";
cta::log::DummyLogger log(programName);
char argv0[12] = "tapeserverd";
char argv0[16] = "cta-tapeserverd";
TapeDaemonConfig config;
std::unique_ptr<ProcessForker> processForker;
ASSERT_NO_THROW(processForker.reset(
......@@ -84,7 +84,7 @@ TEST_F(castor_tape_tapeserver_daemon_ProcessForkerTest, socketproxy) {
const std::string programName = "unittests";
const std::string hostName = "hostName";
cta::log::DummyLogger log(programName);
char argv0[12] = "tapeserverd";
char argv0[16] = "cta-tapeserverd";
TapeDaemonConfig config;
std::unique_ptr<ProcessForker> processForker;
ASSERT_NO_THROW(processForker.reset(
......
......@@ -78,7 +78,7 @@ castor::tape::tapeserver::daemon::TapeDaemon::TapeDaemon(
m_reactor(reactor),
m_capUtils(capUtils),
m_tapeDaemonConfig(tapeDaemonConfig),
m_programName("tapeserverd"),
m_programName("cta-tapeserverd"),
m_hostName(getHostName()),
m_processForker(NULL),
m_processForkerPid(0),
......
......@@ -61,7 +61,7 @@ int main(const int argc, char **const argv) {
// Try to instantiate the logging system API
std::unique_ptr<cta::log::SyslogLogger> logPtr;
try {
logPtr.reset(new cta::log::SyslogLogger(std::string("tapeserverd"),cta::log::DEBUG));
logPtr.reset(new cta::log::SyslogLogger(std::string("cta-tapeserverd"),cta::log::DEBUG));
} catch(cta::exception::Exception &ex) {
std::cerr <<
"Failed to instantiate object representing CASTOR logging system: " <<
......@@ -179,7 +179,7 @@ static void logStartOfDaemon(cta::log::Logger &log, const int argc,
std::list<cta::log::Param> params = {
cta::log::Param("version", version.str()),
cta::log::Param("argv", concatenatedArgs)};
log(cta::log::INFO, "tapeserverd started", params);
log(cta::log::INFO, "cta-tapeserverd started", params);
}
//------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment