XRootD
XrdSysError Class Reference

#include <XrdSysError.hh>

+ Collaboration diagram for XrdSysError:

Public Member Functions

 XrdSysError (XrdSysLogger *lp, const char *ErrPrefix="sys")
 
 ~XrdSysError ()
 
int baseFD ()
 
void Emsg (const char *esfx, const char *text1, const char *text2=0, const char *text3=0)
 
int Emsg (const char *esfx, int ecode, const char *text1, const char *text2=0)
 
int getMsgMask ()
 
void Log (int mask, const char *esfx, const char *text1, const char *text2=0, const char *text3=0)
 
XrdSysLoggerlogger (XrdSysLogger *lp=0)
 
void Say (const char *text1, const char *text2=0, const char *txt3=0, const char *text4=0, const char *text5=0, const char *txt6=0)
 
void setMsgMask (int mask)
 
const char * SetPrefix (const char *prefix)
 
void TBeg (const char *txt1=0, const char *txt2=0, const char *txt3=0)
 
void TEnd ()
 

Static Public Member Functions

static void addTable (XrdSysError_Table *etp)
 
static const char * ec2text (int ecode)
 

Detailed Description

Definition at line 89 of file XrdSysError.hh.

Constructor & Destructor Documentation

◆ XrdSysError()

XrdSysError::XrdSysError ( XrdSysLogger lp,
const char *  ErrPrefix = "sys" 
)
inline

Definition at line 92 of file XrdSysError.hh.

93  : epfx(0),
94  epfxlen(0),
95  msgMask(-1),
96  Logger(lp)
97  { SetPrefix(ErrPrefix); }
const char * SetPrefix(const char *prefix)
Definition: XrdSysError.hh:160

References SetPrefix().

+ Here is the call graph for this function:

◆ ~XrdSysError()

XrdSysError::~XrdSysError ( )
inline

Definition at line 99 of file XrdSysError.hh.

99 {}

Member Function Documentation

◆ addTable()

static void XrdSysError::addTable ( XrdSysError_Table etp)
inlinestatic

Definition at line 106 of file XrdSysError.hh.

106 {etp->next = etab; etab = etp;}

Referenced by XrdOssSys::Configure().

+ Here is the caller graph for this function:

◆ baseFD()

int XrdSysError::baseFD ( )

Definition at line 73 of file XrdSysError.cc.

73 {return Logger->originalFD();}

References XrdSysLogger::originalFD().

Referenced by XrdOucUtils::Undercover().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ec2text()

const char * XrdSysError::ec2text ( int  ecode)
static

Definition at line 79 of file XrdSysError.cc.

80 {
81  int xcode;
82  const char *etxt = 0;
83  XrdSysError_Table *etp = etab;
84 
85  xcode = (ecode < 0 ? -ecode : ecode);
86  while((etp != 0) && !(etxt = etp->Lookup(xcode))) etp = etp->next;
87  if (!etxt) etxt = XrdSysE2T(xcode);
88  return etxt;
89 }
const char * XrdSysE2T(int errcode)
Definition: XrdSysE2T.cc:104
char * Lookup(int mnum)
Definition: XrdSysError.hh:50

References XrdSysError_Table::Lookup(), and XrdSysE2T().

Referenced by XrdBwm::Emsg(), Emsg(), and XrdOucERoute::Format().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Emsg() [1/2]

void XrdSysError::Emsg ( const char *  esfx,
const char *  text1,
const char *  text2 = 0,
const char *  text3 = 0 
)

Definition at line 117 of file XrdSysError.cc.

120 {
121  struct iovec iov[16];
122  int iovpnt = 0;
123 
124  Set_IOV_Item(0,0); // 0
125  if (epfx && epfxlen) Set_IOV_Item(epfx, epfxlen); // 1
126  if (esfx ) Set_IOV_Buff(esfx); // 2
127  Set_IOV_Item(": ", 2); // 3
128  Set_IOV_Buff(txt1); // 4
129  if (txt2 && txt2[0]){Set_IOV_Item(" ", 1); // 5
130  Set_IOV_Buff(txt2);} // 6
131  if (txt3 && txt3[0]){Set_IOV_Item(" ", 1); // 7
132  Set_IOV_Buff(txt3);} // 8
133  Set_IOV_Item("\n", 1); // 9
134  Logger->Put(iovpnt, iov);
135 }
#define Set_IOV_Item(x, y)
Definition: XrdSysError.cc:57
#define Set_IOV_Buff(x)
Definition: XrdSysError.cc:60
void Put(int iovcnt, struct iovec *iov)
XrdSysLogger Logger
Definition: XrdGlobals.cc:47

References XrdGlobal::Logger, XrdSysLogger::Put(), Set_IOV_Buff, and Set_IOV_Item.

+ Here is the call graph for this function:

◆ Emsg() [2/2]

int XrdSysError::Emsg ( const char *  esfx,
int  ecode,
const char *  text1,
const char *  text2 = 0 
)

Definition at line 95 of file XrdSysError.cc.

97 {
98  struct iovec iov[16];
99  int iovpnt = 0;
100  const char *etxt = ec2text(ecode);
101 
102  Set_IOV_Item(0,0); // 0
103  if (epfx && epfxlen) Set_IOV_Item(epfx, epfxlen); // 1
104  if (esfx ) Set_IOV_Buff(esfx); // 2
105  Set_IOV_Item(": Unable to ", 12); // 3
106  Set_IOV_Buff(txt1); // 4
107  if (txt2 && txt2[0]){Set_IOV_Item(" ", 1); // 5
108  Set_IOV_Buff(txt2); } // 6
109  Set_IOV_Item("; ", 2); // 7
110  Set_IOV_Buff(etxt); // 8
111  Set_IOV_Item("\n", 1); // 9
112  Logger->Put(iovpnt, iov);
113 
114  return ecode;
115 }
static const char * ec2text(int ecode)
Definition: XrdSysError.cc:79

References ec2text(), XrdGlobal::Logger, XrdSysLogger::Put(), Set_IOV_Buff, and Set_IOV_Item.

Referenced by StatsFileSystem::StatsFileSystem(), XrdNetMsg::XrdNetMsg(), XrdPoll::XrdPoll(), XrdTlsTempCA::XrdTlsTempCA(), XrdXrootdMonitor::XrdXrootdMonitor(), XrdXrootdPgwFob::~XrdXrootdPgwFob(), XrdOuca2x::a2fm(), XrdOuca2x::a2i(), XrdOuca2x::a2ll(), XrdOuca2x::a2p(), XrdOuca2x::a2sn(), XrdOuca2x::a2sp(), XrdOuca2x::a2sz(), XrdOuca2x::a2tm(), XrdOuca2x::a2vp(), XrdNetSocket::Accept(), XrdInet::Accept(), XrdNet::Accept(), Macaroons::Authz::Access(), XrdFrmCns::Add(), XrdOfsPoscq::Add(), XrdCmsPrepare::Add(), XrdFrcReqFile::Add(), XrdFrmXfrQueue::Add(), XrdCmsCluster::Add(), XrdCmsManager::Add(), XrdXrootdFileTable::Add(), XrdCmsClustID::AddNode(), XrdOssSpace::Adjust(), XrdOssSys::AioInit(), XrdCmsProtocol::Alloc(), XrdCmsKeyItem::Alloc(), XrdCmsJob::Alloc(), XrdLinkCtl::Alloc(), XrdCmsSecurity::Authenticate(), XrdDigAuth::Authorize(), XrdOfsTPC::Authorize(), XrdNet::Bind(), XrdCmsCluster::BlackList(), XrdOssSys::BreakLink(), XrdCksManOss::Calc(), XrdCksManager::Calc(), XrdFrcReqFile::Can(), XrdSecProtParm::Cat(), XrdAccAuthFile::Changed(), XrdOucPsx::ClientConfig(), XrdLinkXeq::Close(), XrdOfsPoscq::Commit(), Macaroons::Handler::Config(), XrdPfc::Cache::Config(), StatsFileSystem::Config(), XrdCksManager::Config(), XrdNetPMarkCfg::Config(), XrdAccConfig::ConfigDB(), BlacklistDecision::ConfigDecision(), XrdOucLogging::configLog(), XrdPssSys::ConfigMapID(), XrdOssSys::ConfigProc(), XrdPfcPurgeQuota::ConfigPurgePin(), XrdOssSys::ConfigStage(), XrdOssSys::ConfigStageC(), XrdHttpProtocol::Configure(), XrdXrootdProtocol::Configure(), XrdCephOss::Configure(), XrdOssSys::Configure(), XrdDigAuth::Configure(), XrdCmsFinderRMT::Configure(), XrdCmsFinderTRG::Configure(), XrdCmsRedirLocal::Configure(), XrdCmsClientConfig::Configure(), XrdDigConfig::Configure(), XrdSsiSfsConfig::Configure(), XrdCmsSecurity::Configure(), XrdConfig::Configure(), XrdFrmConfig::Configure(), XrdBwm::Configure(), XrdOfs::Configure(), XrdThrottle::FileSystem::Configure(), XrdVomsMapfile::Configure(), XrdCmsConfig::Configure1(), XrdOssSys::ConfigXeq(), XrdOfs::ConfigXeq(), XrdInet::Connect(), XrdCmsManTree::Connect(), XrdOssCopy::Copy(), XrdSysXAttr::Copy(), XrdOfsChkPnt::Create(), XrdOssSys::Create(), XrdTlsTempCA::TempCAGuard::create(), XrdNetSocket::Create(), XrdCmsPrepare::Del(), XrdOfsPoscq::Del(), XrdPosixFile::DelayedDestroy(), XrdCmsClientMan::delayResp(), XrdOfsChkPnt::Delete(), XrdCmsNode::Delete(), XrdCmsCache::DelFile(), XrdAccAudit::Deny(), XrdPoll::Detach(), XrdPollE::Disable(), XrdPollPoll::Disable(), XrdBwmHandle::Dispatch(), XrdCmsNode::do_Disc(), XrdCmsNode::do_Load(), XrdCmsNode::do_Mv(), XrdCmsNode::do_SelPrep(), XrdCmsNode::do_Status(), XrdPollPoll::doDetach(), XrdOucUtils::doIf(), XrdLinkXeq::DoIt(), XrdCmsConfig::DoIt(), XrdSsiFileReq::DoIt(), XrdXrootdCallBack::Done(), XrdXrootdAioTask::Drain(), TPC::Stream::DumpBuffers(), XrdBwm::Emsg(), XrdDigFS::Emsg(), XrdOfs::Emsg(), XrdSfsNative::Emsg(), XrdSsiUtils::Emsg(), XrdPollE::Enable(), XrdPollPoll::Enable(), XrdBwmLogger::Event(), XrdPollE::Exclude(), XrdPollPoll::Exclude(), XrdCmsProtocol::Execute(), XrdCmsBaseFS::Exists(), XrdOfsTPCAuth::Expired(), XrdOfsTPCInfo::Fail(), XrdOfsTPC::Fatal(), XrdOucProg::Feed(), XrdSsiFileReq::Finalize(), XrdScheduler::Fork(), XrdCmsFinderRMT::Forward(), XrdOssFile::Fsync(), XrdOucGatherConf::Gather(), XrdXrootdAioTask::gdFail(), XrdOfsHanXpr::Get(), XrdPfcPurgeQuota::GetBytesToRecover(), XrdSsiScale::getEnt(), XrdAccEntity::GetEntity(), XrdOssSys::GetFile(), XrdAccAuthFile::getID(), XrdNetIF::GetIF(), XrdSysPlugin::getLibrary(), XrdOucStream::GetMyFirstWord(), XrdAccAuthFile::getPP(), XrdAccAuthFile::getRec(), XrdPoll::getRequest(), XrdCmsSecurity::getVnId(), XrdNetSocket::getWindow(), XrdAccAudit::Grant(), XrdCmsSecurity::Identify(), XrdLinkCtl::idleScan(), XrdPollE::Include(), XrdPollPoll::Include(), XrdBuffManager::Init(), XrdCmsMeter::Init(), XrdFrcReqFile::Init(), XrdFrmTransfer::Init(), XrdFrmXfrDaemon::Init(), XrdFrmXfrQueue::Init(), XrdOfsConfigCP::Init(), XrdThrottleManager::Init(), XrdXrootdMonFile::Init(), XrdXrootdMonitor::Init(), XrdCmsSupervisor::Init(), XrdOssSpace::Init(), XrdCksManager::Init(), XrdPssCks::Init(), XrdFrmMonitor::Init(), XrdFrcCID::Init(), XrdOfsPoscq::Init(), XrdCmsCache::Init(), XrdCmsRRQ::Init(), XrdFrmPurge::Init(), XrdOfsEvr::Init(), XrdXrootdAdmin::Init(), XrdCmsAdmin::InitAREvents(), XrdSecProtParm::Insert(), XrdSsiTaskReal::Kill(), XrdOucN2N::lfn2pfn(), XrdOucN2N::lfn2rfn(), XrdFrcReqFile::List(), XrdOfsPoscq::List(), XrdXrootdPrepare::List(), XrdOucN2NLoader::Load(), XrdProtLoad::Load(), XrdOfsConfigPI::Load(), LoadFS(), XrdFrmConfig::LocalPath(), Log(), XrdXrootdPrepare::Log(), XrdXrootdPrepare::Logdel(), XrdFrmConfig::LogicalPath(), XrdCmsAdmin::Login(), XrdXrootdAdmin::Login(), main(), mainConfig(), XrdOucUtils::makeHome(), XrdFrcUtils::makePath(), XrdFrcUtils::makeQDir(), XrdOssMio::Map(), XrdFrmMigrate::Migrate(), XrdCmsAdmin::MonAds(), XrdCmsMeter::Monitor(), XrdSsiLogger::Msg(), XrdSsiLogger::Msgf(), XrdSsiLogger::Msgv(), XrdOssSys::MSS_Closedir(), XrdOssSys::MSS_Create(), XrdOssSys::MSS_Opendir(), XrdOssSys::MSS_Readdir(), XrdOssSys::MSS_Rename(), XrdOssSys::MSS_Stat(), XrdOssSys::MSS_Unlink(), XrdOssSys::MSS_Xeq(), XrdSecProtector::New4Server(), XrdPoll::newPoller(), XrdCmsAdmin::Notes(), XrdOfsEvs::Notify(), XrdNetMsg::OK2Send(), XrdOssFile::Open(), XrdSsiFileSess::open(), XrdOfsFile::open(), XrdNetSocket::Open(), XrdCmsParser::Pack(), XrdOucMsubs::Parse(), XrdOfsConfigPI::Parse(), XrdOfsConfigCP::Parse(), XrdOfsEvs::Parse(), XrdOucPsx::ParseCache(), XrdOucPsx::ParseCio(), XrdOucPsx::ParseCLib(), XrdOucExport::ParseDefs(), XrdHttpProtocol::parseHeader2CGI(), XrdOucUtils::parseHome(), XrdOucPsx::ParseINet(), XrdCksConfig::ParseLib(), XrdOucUtils::parseLib(), XrdCmsUtils::ParseMan(), XrdCmsUtils::ParseManPort(), XrdOucPsx::ParseMLib(), XrdOucPsx::ParseNLib(), XrdOucExport::ParsePath(), XrdOucPsx::ParseSet(), XrdOucPsx::ParseTrace(), XrdLinkXeq::Peek(), XrdNetSocket::Peername(), XrdOucUtils::PidFile(), XrdFrmXfrDaemon::Pong(), XrdProtLoad::Port(), XrdOfsHandle::PoscSet(), XrdCmsPrepare::Prepare(), XrdCmsFinderRMT::Prepare(), XrdFrmXfrAgent::Process(), XrdXrootdProtocol::Process2(), TPC::TPCHandler::ProcessReq(), XrdFrmPurge::Purge(), XrdOssSpace::Quotas(), XrdOssFile::Read(), XrdLinkXeq::Recv(), XrdLinkXeq::RecvAll(), XrdOfsEvr::recvEvents(), XrdLinkXeq::RecvIOV(), XrdCmsProtocol::Recycle(), XrdProtLoad::Recycle(), XrdOssMio::Recycle(), XrdFrmFileset::Refresh(), XrdCmsAdmin::Relay(), XrdOssSys::Reloc(), XrdFrmConfig::RemotePath(), XrdCmsCluster::Remove(), XrdCmsManager::Remove(), XrdOssSys::Rename(), XrdOssSys::RenameLink(), XrdOssSys::RenameLink3(), XrdXrootdTpcMon::Report(), XrdCmsManager::Rerun(), XrdCmsPrepare::Reset(), XrdOfsChkPnt::Restore(), XrdOfsTPC::Restrict(), XrdNetMsg::retErr(), XrdBwmHandle::Retire(), XrdOfsHandle::Retire(), XrdOucERoute::Route(), XrdScheduler::Run(), XrdCmsMeter::Run(), XrdOfsPrepGPIReal::PrepGRun::Run(), XrdOucProg::Run(), XrdCmsFinderTRG::RunAdmin(), XrdOucProg::RunDone(), XrdOfsTPCAuth::RunTTL(), XrdOssCache::Scan(), XrdFrmFileset::Screen(), XrdXrootdPrepare::Scrub(), XrdLinkXeq::Send(), XrdNetMsg::Send(), XrdCmsAdmin::Send(), XrdLink::Send(), XrdXrootdAioTask::SendError(), XrdXrootdCallBack::sendError(), XrdXrootdAioTask::SendFSError(), XrdLinkXeq::SendIOV(), XrdSsiTaskReal::SendRequest(), XrdXrootdCallBack::sendResp(), XrdXrootdCallBack::sendVesp(), XrdFrmFileset::setCpyTime(), XrdNetIF::SetIF(), XrdNetSocket::setOpts(), XrdBwmHandle::setPolicy(), TagPath::SetPrefix(), XrdLink::setRef(), XrdLinkXeq::setTLS(), XrdOucProg::Setup(), XrdLinkCtl::Setup(), XrdPoll::Setup(), XrdNetSocket::setWindow(), XrdLinkXeq::SFError(), XrdLinkXeq::Shutdown(), XrdNetSocket::socketPath(), XrdOssSys::Stage_RT(), XrdScheduler::Start(), XrdCmsBaseFS::Start(), XrdCmsClientMan::Start(), XrdCmsFinderTRG::Start(), XrdFrmXfrAgent::Start(), XrdFrmReqBoss::Start(), XrdNetPMarkFF::Start(), XrdCmsAdmin::Start(), XrdXrootdAdmin::Start(), XrdBwmLogger::Start(), XrdOfsEvs::Start(), XrdPollE::Start(), XrdPollPoll::Start(), XrdOfsHandle::StartXpr(), XrdFrmXfrQueue::StopMon(), XrdOucUtils::subLogfn(), XrdOfsTPCJob::Sync(), XrdLinkXeq::TLS_Error(), XrdOssSpace::Unassign(), XrdOucUtils::Undercover(), XrdFrcUtils::Unique(), XrdOssAt::Unlink(), XrdOfs::Unpersist(), XrdCmsState::Update(), XrdFrcUtils::updtCpy(), XrdOssSpace::Usage(), XrdFrcUtils::Utime(), XrdCmsManager::Verify(), XrdLink::Wait4Data(), XrdOssFile::Write(), XrdSsiFileSess::write(), XrdOssSys::xalloc(), XrdOssSys::xcachescan(), XrdOfsTPCProg::Xeq(), XrdSsiTaskReal::XeqEvent(), XrdOssSys::xfdlimit(), XrdOssSys::xmaxsz(), XrdOssSys::xmemf(), XrdOssSys::xnml(), xonmissing(), XrdOssSys::xpath(), XrdOssSys::xprerd(), XrdAccAuthorizeObjAdd(), XrdAccAuthorizeObject(), XrdgetProtocolPort(), XrdHttpGetExtHandler(), XrdOfsgetPrepare(), XrdOssAddStorageSystem2(), XrdOssAioWait(), XrdOucgetName2Name(), XrdSysThread_Xeq(), XrdXrootdloadFileSystem(), XrdOssSys::xspace(), XrdOssSys::xspaceBuild(), XrdOssSys::xstg(), XrdOssSys::xstl(), XrdOssSys::xtrace(), XrdOssSys::xusage(), and XrdOssSys::xxfr().

+ Here is the call graph for this function:

◆ getMsgMask()

int XrdSysError::getMsgMask ( )
inline

Definition at line 156 of file XrdSysError.hh.

156 {return msgMask;}

Referenced by XrdAccSciTokens::Access(), StatsFileSystem::Config(), and XrdVomsMapfile::Configure().

+ Here is the caller graph for this function:

◆ Log()

void XrdSysError::Log ( int  mask,
const char *  esfx,
const char *  text1,
const char *  text2 = 0,
const char *  text3 = 0 
)
inline

Definition at line 133 of file XrdSysError.hh.

137  {if (mask & msgMask) Emsg(esfx, text1, text2, text3);}
int Emsg(const char *esfx, int ecode, const char *text1, const char *text2=0)
Definition: XrdSysError.cc:95

References Emsg().

Referenced by Macaroons::Authz::Access(), XrdAccSciTokens::Access(), XrdVomsMapfile::Apply(), XrdXrootdProtocol::Recycle(), XrdAccSciTokens::Validate(), and Macaroons::Authz::Validate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ logger()

XrdSysLogger* XrdSysError::logger ( XrdSysLogger lp = 0)
inline

◆ Say()

void XrdSysError::Say ( const char *  text1,
const char *  text2 = 0,
const char *  txt3 = 0,
const char *  text4 = 0,
const char *  text5 = 0,
const char *  txt6 = 0 
)

Definition at line 141 of file XrdSysError.cc.

143 {
144  struct iovec iov[9];
145  int iovpnt = 0;
146  if (txt1) Set_IOV_Buff(txt1) // 0
147  else Set_IOV_Item(0,0);
148  if (txt2 && txt2[0]) Set_IOV_Buff(txt2); // 1
149  if (txt3 && txt3[0]) Set_IOV_Buff(txt3); // 2
150  if (txt4 && txt4[0]) Set_IOV_Buff(txt4); // 3
151  if (txt5 && txt5[0]) Set_IOV_Buff(txt5); // 4
152  if (txt6 && txt6[0]) Set_IOV_Buff(txt6); // 5
153  Set_IOV_Item("\n", 1); // 6
154  Logger->Put(iovpnt, iov);
155 }

References XrdGlobal::Logger, XrdSysLogger::Put(), Set_IOV_Buff, and Set_IOV_Item.

Referenced by StatsFileSystem::StatsFileSystem(), XrdAccSciTokens::XrdAccSciTokens(), XrdFrmXfrQueue::Add(), cfOut(), XrdFrmAdmin::Chksum(), XrdOucStream::Close(), Macaroons::Handler::Config(), XrdPfc::Cache::Config(), XrdNetPMarkCfg::Config(), XrdOfs::Config_Display(), XrdOssSys::Config_Display(), XrdAccConfig::ConfigDB(), XrdPssSys::ConfigMapID(), XrdOssSys::ConfigMio(), XrdOssSys::ConfigProc(), XrdOssSys::ConfigSpace(), XrdOssSys::ConfigSpath(), XrdOssSys::ConfigStage(), XrdXrootdProtocol::Configure(), XrdOssSys::Configure(), XrdSecServer::Configure(), XrdSsiSfsConfig::Configure(), XrdConfig::Configure(), XrdFrmConfig::Configure(), XrdBwm::Configure(), XrdOfs::Configure(), XrdThrottle::FileSystem::Configure(), XrdAccConfig::Configure(), XrdCmsConfig::Configure1(), XrdCmsConfig::Configure2(), XrdOssSys::ConfigXeq(), XrdBwm::ConfigXeq(), XrdOfs::ConfigXeq(), XrdCmsConfig::ConfigXeq(), XrdConfig::ConfigXeq(), XrdCephXAttr::Del(), XrdFrmMigrate::Display(), XrdFrmPurge::Display(), XrdOfsConfigPI::Display(), XrdNetIF::Display(), XrdOssMio::Display(), XrdSecEntity::Display(), XrdCmsBlackList::DoIt(), XrdOucStream::Echo(), XrdOucGatherConf::EchoLine(), XrdPfc::Cache::ExecuteCommandUrl(), XrdCmsManager::Finished(), XrdCephXAttr::Get(), XrdNetIF::GetIF(), XrdOucArgs::getopt(), XrdOfsConfigCP::Init(), XrdOfsPoscq::Init(), XrdOssCsiConfig::Init(), XrdPssSys::Init(), XrdFrmPurgeDir::isEmpty(), XrdCephXAttr::List(), XrdOssCache::List(), XrdOssSys::List_Path(), logwrapper(), main(), XrdSsiLogger::Msg(), XrdSsiLogger::Msgf(), XrdSsiLogger::Msgv(), XrdCephOssFile::Open(), XrdCephOssDir::Opendir(), XrdOfsEvs::Parse(), XrdNetPMarkCfg::Parse(), XrdOucPsx::ParseCLib(), XrdOucUtils::parseLib(), XrdCmsUtils::ParseMan(), XrdOucPsx::ParseSet(), XrdOucPsx::ParseTrace(), XrdCmsManager::Rerun(), XrdCms::MidNightTask::Ring(), XrdCephXAttr::Set(), XrdNetIF::SetIFNames(), XrdCmsManager::Start(), XrdFrmTransfer::Start(), XrdCephOss::Stat(), XrdCephOss::Truncate(), XrdCephOss::Unlink(), XrdOssSys::xcache(), XrdOfsTPCProg::Xeq(), XrdOssSys::xmemf(), XrdDigGetFS(), XrdgetProtocol(), XrdgetProtocolPort(), XrdOssGetStorageSystem(), XrdOssStatInfoInit(), XrdOssStatInfoParm(), XrdOucGetCache(), XrdSfsGetFileSystem(), XrdSysGetXAttrObject(), XrdOssSys::xspace(), XrdOssSys::xspaceBuild(), and XrdOssSys::xtrace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setMsgMask()

void XrdSysError::setMsgMask ( int  mask)
inline

Definition at line 154 of file XrdSysError.hh.

154 {msgMask = mask;}

Referenced by Macaroons::Handler::Config(), StatsFileSystem::Config(), and XrdVomsMapfile::Configure().

+ Here is the caller graph for this function:

◆ SetPrefix()

const char* XrdSysError::SetPrefix ( const char *  prefix)
inline

Definition at line 160 of file XrdSysError.hh.

161  {const char *oldpfx = epfx;
162  epfx = prefix; epfxlen = strlen(epfx);
163  return oldpfx;
164  }

Referenced by XrdFrmConfig::XrdFrmConfig(), XrdSysError(), XrdCpConfig::Config(), XrdOssGetStorageSystem(), XrdSfsGetDefaultFileSystem(), XrdSfsGetFileSystem(), XrdSfsGetFileSystem2(), and XrdSysGetXAttrObject().

+ Here is the caller graph for this function:

◆ TBeg()

void XrdSysError::TBeg ( const char *  txt1 = 0,
const char *  txt2 = 0,
const char *  txt3 = 0 
)

Definition at line 161 of file XrdSysError.cc.

162 {
163  std::cerr <<Logger->traceBeg();
164  if (txt1) std::cerr <<txt1 <<' ';
165  if (txt2) std::cerr <<epfx <<txt2 <<": ";
166  if (txt3) std::cerr <<txt3;
167 }
char * traceBeg()

References XrdGlobal::Logger, and XrdSysLogger::traceBeg().

Referenced by XrdOucTrace::Beg().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TEnd()

void XrdSysError::TEnd ( )

Definition at line 173 of file XrdSysError.cc.

173 {std::cerr <<std::endl; Logger->traceEnd();}

References XrdGlobal::Logger, and XrdSysLogger::traceEnd().

Referenced by XrdOucTrace::End().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: