Skip to content
Snippets Groups Projects
Commit 328de5a9 authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Added log for cta-fronted startup.

parent 5eecce33
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@
#include "xroot_plugins/XrdCtaFilesystem.hpp"
#include "xroot_plugins/XrdCtaFile.hpp"
#include "XrdCtaDir.hpp"
#include "version.h"
#include <memory>
#include <iostream>
......@@ -278,6 +279,10 @@ XrdCtaFilesystem::XrdCtaFilesystem():
try {
dynamic_cast<objectstore::BackendVFS &>(*m_backend).noDeleteOnExit();
} catch (std::bad_cast &){}
const std::list<cta::log::Param> params = {cta::log::Param("version", CTA_VERSION)};
cta::log::Logger &log= *m_log;
log(log::INFO, std::string("cta-frontend started"), params);
}
//------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment