irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

rodsLog.cpp File Reference
#include "rodsErrorTable.h"
#include "rods.h"
#include "irods_socket_information.hpp"
#include "rodsLog.h"
#include "rcGlobalExtern.h"
#include "rcMisc.h"
#include <time.h>
#include <map>
#include <string>
#include <sys/time.h>
#include "irods_exception.hpp"
#include <unistd.h>
#include <stdarg.h>
Include dependency graph for rodsLog.cpp:

Go to the source code of this file.

Macros

#define MAKE_IRODS_ERROR_MAP
 
#define BIG_STRING_LEN   MAX_NAME_LEN+300
 

Functions

std::string create_log_error_prefix ()
 
void rodsLog (int level, const char *formatStr,...)
 
void rodsLogAndErrorMsg (int level, rError_t *myError, int status, const char *formatStr,...)
 
void rodsLogLevel (int level)
 
int getRodsLogLevel ()
 
void rodsLogSqlReq (int onOrOff)
 
void rodsLogSql (const char *sql)
 
void rodsLogSqlResult (char *stat)
 
const char * rodsErrorName (int errorValue, char **subName)
 
void rodsLogErrorOld (int level, int rodsErrorCode, char *textStr)
 
void rodsLogError (int level, int rodsErrorCode, char *formatStr,...)
 
void generateLogTimestamp (char *ts, int tsLen)
 

Variables

static const std::map< const int, const std::string > irods_error_map = irods_error_map_construction::irods_error_map
 
static int verbosityLevel = 3
 
static int sqlVerbosityLevel = 0
 
pid_t myPid = 0
 

Macro Definition Documentation

◆ BIG_STRING_LEN

#define BIG_STRING_LEN   MAX_NAME_LEN+300

Definition at line 36 of file rodsLog.cpp.

◆ MAKE_IRODS_ERROR_MAP

#define MAKE_IRODS_ERROR_MAP

Definition at line 6 of file rodsLog.cpp.

Function Documentation

◆ create_log_error_prefix()

std::string create_log_error_prefix ( )

Definition at line 48 of file rodsLog.cpp.

References terminate_irods_processes::e, get_open_socket_file_descriptors(), irods::experimental::filesystem::client::move(), and socket_fd_to_remote_address().

Referenced by rodsLog().

Here is the call graph for this function:

◆ generateLogTimestamp()

void generateLogTimestamp ( char *  ts,
int  tsLen 
)

Definition at line 514 of file rodsLog.cpp.

References NULL, and TIME_LEN.

Referenced by reDebug().

◆ getRodsLogLevel()

◆ rodsErrorName()

◆ rodsLog()

void rodsLog ( int  level,
const char *  formatStr,
  ... 
)

Definition at line 86 of file rodsLog.cpp.

References AGENT_PT, BIG_STRING_LEN, create_log_error_prefix(), ctime, LOG_DEBUG, LOG_DEBUG10, LOG_DEBUG8, LOG_DEBUG9, LOG_ERROR, LOG_NOTICE, LOG_SQL, LOG_SYS_FATAL, LOG_SYS_WARNING, LOG_WARNING, myPid, ProcessType, RE_SERVER_PT, rstrcpy(), SERVER_PT, and verbosityLevel.

Referenced by _addChildToResource(), _addResource(), _bulkRegUnbunSubfiles(), _call_file_modified_for_modification(), _check_rebalance_timestamp_avu_on_resource(), _cllExecSqlNoResult(), _dataObjChksum(), _delColl(), _l3DataPutSingleBuf(), _modDataObjSize(), _modInheritance(), _rcConnect(), _readXMsg(), _removeChildFromResource(), _rollback(), _rsBulkDataObjPut(), _rsBulkDataObjReg(), _rsChkObjPermAndStat(), _rsClientHints(), _rsCollRsync(), _rsDataCopy(), _rsDataObjClose(), _rsDataObjCreate(), _rsDataObjOpen(), _rsDataObjRename(), _rsDataObjRepl(), _rsEndTransaction(), _rsExecCmd(), _rsFileChksum(), _rsFileCreate(), _rsFileGet(), _rsFileOpen(), _rsFilePut(), _rsFileRmdir(), _rsFileStageToCache(), _rsFileSyncToArch(), _rsGeneralAdmin(), _rsGeneralRowInsert(), _rsGeneralRowPurge(), _rsGenQuery(), _rsGetHierarchyForResc(), _rsGetLimitedPassword(), _rsGetTempPassword(), _rsGetTempPasswordForOther(), _rsIESClientHints(), _rsModAccessControl(), _rsModAVUMetadata(), _rsModColl(), _rsModDataObjMeta(), _rsPhyBundleColl(), _rsPhyPathReg(), _rsPhyRmColl(), _rsProcStat(), _rsQuerySpecColl(), _rsRcvXmsg(), _rsRegColl(), _rsRegDataObj(), _rsRegReplica(), _rsRuleExecDel(), _rsRuleExecSubmit(), _rsServerReport(), _rsSimpleQuery(), _rsSpecificQuery(), _rsStructFileBundle(), _rsStructFileExtract(), _rsSubStructFilePut(), _rsTicketAdmin(), _rsUnbunAndRegPhyBunfile(), _rsUnregDataObj(), _rsUserAdmin(), _rsZoneReport(), _writeString(), _writeXMsg(), acceptSrvPortal(), acCreateCollByAdmin(), acDeleteCollByAdmin(), acDeleteCollByAdminIfPresent(), acPreConnect(), acPreProcForWriteSessionVariable(), acSetRescSchemeForCreate(), acSetRescSchemeForRepl(), actionTableLookUp(), irods::client_api_whitelist::add(), addAVUMetadataFromKVPairs(), addInClauseToWhereForParentOf(), addMsParamToArray(), addRenamedPhyFile(), addSrcInPath(), addStrArray(), addSubFileToDir(), addTicketMsgStructToHQue(), addTicketToHQue(), addXmsgToTicketMsgStruct(), addXmsgToXmsgQue(), agentMain(), alloc_tar_sub_file_desc(), allocFileDesc(), allocL1desc(), allocSpecCollDesc(), apply_acPostProcForDataCopyReceived(), apply_acPostProcForParallelTransferReceived(), irods::apply_policy_for_create_operation(), applyPreprocRuleForOpen(), applyRule(), applyRuleArg(), applyRuleForPostProcForRead(), applyRuleForPostProcForWrite(), applyRuleForSvrPortal(), applyRuleWithInOutVars(), bindTheVariables(), branchReadAndProcApiReply(), build_directory_listing(), bulkProcAndRegSubfile(), bulkPutFileUtil(), bulkRegSubfile(), bulkRegUnbunSubfiles(), bundleAndRegSubFiles(), bunUtil(), irods::dynamic_operation_execution_manager< T, C, DONT_AUDIT_RULE >::call(), irods::api_entry::call_handler(), irods::ms_table_entry::call_handler(), irods::resource_manager::call_maintenance_operations(), irods::environment_properties::capture(), capture_integer_env_var(), capture_integer_property(), capture_string_env_var(), capture_string_property(), catDataObj(), catGenQueryOut(), changeToServiceUser(), irods::check_directories_for_loops(), check_proxy_user_privileges(), checkAndGetObjectId(), checkCondInputAccess(), checkDupReplica(), checkObjIdByTicket(), chkAllowedUser(), chkAndHandleOrphanFile(), chkApiPermission(), chkApiVersion(), chkCollForBundleOpr(), chkCollForExtAndReg(), chkConnectedAgentProcQue(), chkEmptyDir(), chkFilePathPerm(), chkOrphanDir(), chkOrphanFile(), chkPreProcDeleteRule(), chkProxyUserPriv(), chkRescQuotaPolicy(), chkStateForResume(), chksumCollUtil(), chksumDataObjUtil(), chksumLocFile(), chksumUtil(), chl_gen_query_impl(), chl_gen_query_ticket_setup_impl(), chl_general_update_impl(), chlOpen(), cleanupAndExit(), cleanupBulkRegFiles(), clearParsedMsKeyValStr(), cliChkReconnAtReadEnd(), cliChkReconnAtReadStart(), cliChkReconnAtSendEnd(), cliChkReconnAtSendStart(), irods::client_server_negotiation_for_client(), irods::client_server_negotiation_for_server(), clientLoginPam(), cliReconnManager(), cllCheckPending(), cllCloseEnv(), cllConnect(), cllDisconnect(), cllExecSqlWithResult(), cllExecSqlWithResultBV(), cllFreeStatement(), cllGetRow(), cllOpenEnv(), cmlAudit1(), cmlAudit2(), cmlAudit3(), cmlAudit4(), cmlAudit5(), cmlCheckDataObjId(), cmlCheckDataObjOnly(), cmlCheckDataObjOwn(), cmlCheckDir(), cmlCheckDirAndGetInheritFlag(), cmlCheckDirId(), cmlCheckDirOwn(), cmlCheckGroupAdminAccess(), cmlCheckNameToken(), cmlCheckResc(), cmlCheckTicketRestrictions(), cmlCheckUserInGroup(), cmlGetCurrentSeqVal(), cmlGetNextSeqStr(), cmlGetNextSeqVal(), cmlGetOneRowFromSql(), cmlGetOneRowFromSqlBV(), cmlGetOneRowFromSqlV2(), cmlGetOneRowFromSqlV3(), cmlModifySingleTable(), cmlTicketUpdateWriteBytes(), collStat(), compound_file_notify(), compound_resource::compound_resource(), connectRcat(), connectToRhost(), connectToRhostPortal(), connectToRhostWithTout(), convertHostToIp(), cpCollUtil(), cpFileUtil(), cpUtil(), create_nonblocking_socket(), create_replication_list(), createBunDirForBulkPut(), createEmptyRepl(), createPhyBundleDataObj(), createPhyBundleDir(), createRodsEnvDefaults(), createSrvPortal(), dataCreate(), dataObjChksumAndReg(), dataObjChksumAndRegInfo(), dataObjCopy(), dataObjOpenForRepl(), dataObjStat(), dataObjTruncateS(), dataObjUnlinkS(), dataOpen(), db_add_avu_metadata_wild_op(), db_check_auth_op(), db_commit_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_user_re_op(), db_del_zone_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_coll_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_user_op(), db_mod_zone_op(), db_open_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_user_re_op(), db_reg_zone_op(), db_rename_coll_op(), db_rename_local_zone_op(), db_rollback_op(), db_set_avu_metadata_op(), db_simple_query_op_vector(), db_unreg_replica_op(), db_update_pam_password_op(), decodePw(), irods::buffer_crypt::decrypt(), deferred_redirect_for_operation(), deferred_resource::deferred_resource(), irods::determine_negotiation_key(), determine_user_has_modify_metadata_access(), dirPathReg(), irods::disallow_file_dir_mix_on_command_line(), disconnectRcat(), irods::dynamic_cast_hack(), irods::buffer_crypt::encrypt(), irods::client_api_whitelist::enforce(), evaluateActions(), irods::default_microservice_manager< default_ms_ctx >::exec_microservice(), exec_rule(), exec_rule_expression(), exec_rule_text(), execAgent(), execCmd(), execMyRuleWithSaveFlag(), execRule(), execRuleFromCondIndex(), execRuleNodeRes(), extendPackedOutput(), extract_file(), irods::file_system_sanity_check(), fileChksum(), filePathReg(), filePathRegRepl(), fillAttriArrayOfBulkOprInp(), fillBBufWithFile(), fillBulkDataObjRegInp(), findAVU(), findOrInsertAVU(), fkFindName(), fmakeword(), forkAndExec(), irods::forward_server_control_command(), free_struct_file_desc(), free_tar_sub_file_desc(), freeCollHandle(), freeFileDesc(), freeL1desc(), freeSpecCollDesc(), fsckObj(), genCollResInColl(), genDataResInColl(), generateSpecialQuery(), generateSQL(), genQueryOutToCollRes(), genQueryOutToDataObjRes(), irods::get_full_path_for_config_file(), irods::get_full_path_for_unmoved_configs(), get_host_system_information(), get_legacy_ssl_variables(), irods::zone_info::get_local_zone(), get_next_valid_child_resource(), irods::get_pid_age(), get_resc_hier_from_leaf_id(), get_resource_array(), get_server_reports(), get_string_array_from_array(), getaddrinfo_with_retry(), getAllSessionVarValue(), getAndConnRcatHost(), getAndConnRcatHostNoLogin(), getAndConnReHost(), getAndConnRemoteZone(), getAndConnRemoteZoneForCopy(), getAttriInAttriArray(), getCollSizeForProgStat(), getCollUtil(), getDataObjInfo(), getDataObjInfoIncSpecColl(), getDataObjUtil(), getDirSizeForProgStat(), getFile(), getFileFromPortal(), getFileMetadataFromVault(), getFilePathName(), getFileToPortalRbudp(), getIncludeFile(), getIrodsXmsg(), getIrodsXmsgByMsgNum(), getLine(), getLocalZoneInfo(), getModifiedTime(), getMountedSubPhyPath(), getMutexName(), getNextCollMetaInfo(), getNextEleInStr(), getNextKeyValFromMsKeyValStr(), getNumThreads(), getPhyPath(), getRemoteZoneHost(), getRescForCreate(), getRule(), getSeg(), getServerHostByFileInx(), getSharedMemoryName(), getSizeInVault(), getSpecCollTypeStr(), getStderrInExecCmdOut(), getStdoutInExecCmdOut(), getStrInBuf(), getTokenId(), getUnixGroupname(), getUnixUsername(), getUserId(), getUtil(), getVaultPathPolicy(), getZoneInfo(), getZoneServerId(), getZoneType(), handlePortalOpr(), hasSymlinkInDir(), hasSymlinkInPartialPath(), icatApplyRule(), icatGetTicketGroupId(), icatGetTicketUserId(), impostor_file_resolve_hierarchy_create(), impostor_file_resolve_hierarchy_open(), irods::init_api_table(), irods::resource_manager::init_child_map(), irods::resource_manager::init_from_catalog(), initAgent(), initAndClearProcLog(), initCondForBunOpr(), initCondForChksum(), initCondForCp(), initCondForGet(), initCondForIrodsToIrodsRsync(), initCondForLs(), initCondForMcoll(), initCondForMv(), initCondForPhybunOpr(), initCondForPhymv(), initCondForPut(), initCondForReg(), initCondForRepl(), initCondForRm(), initCondForRmtrash(), initCondForRsync(), initCondForTrim(), initDataObjInfoQuery(), initFileRestart(), initHostConfigByFile(), initializeReDebug(), initLocalServerHost(), initParsedMsKeyValStr(), initRbudpClient(), initRcatServerHostByFile(), initReiWithCollInp(), initRsCommWithStartupPack(), initServer(), initServerInfo(), initServerMain(), initZone(), irods_file_close(), irods_file_open(), irods_file_read(), irods_file_write(), irsDataObjClose(), irsPhyPathReg(), irods::is_path_valid_for_recursion(), isColl(), isCollEmpty(), isData(), isPathSymlink_err(), isValidFilePath(), keyValToString(), l3DataCopySingleBuf(), l3DataGetSingleBuf(), l3DataPutSingleBuf(), l3DataStageSync(), l3Opendir(), l3Read(), lfRestartGetWithInfo(), lfRestartPutWithInfo(), linkCollReg(), irods::rule_engine_context_manager< T, C, DONT_AUDIT_RULE >::list_rules(), load_balanced_redirect_for_create_operation(), load_balanced_redirect_for_open_operation(), load_balanced_resource::load_balanced_resource(), irods::load_plugin(), irods::resource_manager::load_resource_plugin(), loadRuleFromCacheOrFile(), localProcStat(), lockReadMutex(), lockWriteMutex(), locToRemPartialCopy(), irods::log(), irods::log_error_code(), logAgentProc(), logBindVars(), logErrMsg(), logPsgError(), logTheBindVariables(), lsCollUtil(), lsDataObjUtil(), lsDataObjUtilLong(), lsSubfilesInBundle(), lsUtil(), main(), make_federation_set(), makeCachedStructFileStr(), matchCliVaultPath(), matchDataObjInfoByCondInput(), matchPackInstruct(), matchPathname(), matchPattern(), mkCollR(), mkDirForFilePath(), mkdirR(), mkFileDirR(), mock_archive_file_sync_to_arch(), mockArchiveCopyPlugin(), modCollInfo2(), mountFileDir(), moveMountedCollCollObj(), moveMountedCollDataObj(), msi_update_unixfilesystem_resource_free_space(), msiAddConditionToGenQuery(), msiAddKeyVal(), msiAddKeyValToMspStr(), msiAddSelectFieldToGenQuery(), msiAddUserToGroup(), msiApplyDCMetadataTemplate(), msiAW1(), msiBytesBufToStr(), msiCheckHostAccessControl(), msiCloseGenQuery(), msiCollCreate(), msiCollRepl(), msiCollRsync(), msiCommit(), msiCreateCollByAdmin(), msiCreateUser(), msiCreateXmsgInp(), msiCutBufferInHalf(), msiDataObjChksum(), msiDataObjClose(), msiDataObjCopy(), msiDataObjCreate(), msiDataObjGet(), msiDataObjLseek(), msiDataObjOpen(), msiDataObjPhymv(), msiDataObjPut(), msiDataObjRead(), msiDataObjRename(), msiDataObjRepl(), msiDataObjRsync(), msiDataObjTrim(), msiDataObjUnlink(), msiDataObjWrite(), msiDeleteCollByAdmin(), msiDeleteUnusedAVUs(), msiDeleteUser(), msiDigestMonStat(), msiDoSomething(), msiExecCmd(), msiExit(), msiExtractNaraMetadata(), msiExtractTemplateMDFromBuf(), msiFlushMonStat(), msiGetContInxFromGenQueryOut(), msiGetDiffTime(), msiGetFormattedSystemTime(), msiGetMoreRows(), msiGetSessionVarValue(), msiGetSystemTime(), msiGetTaggedValueFromString(), msiHumanToSystemTime(), msiListEnabledMS(), msiMakeGenQuery(), msiObjStat(), msiPhyBundleColl(), msiPhyPathReg(), msiPrintGenQueryInp(), msiPrintGenQueryOutToBuffer(), msiQuota(), msiRcvXmsg(), msiReadMDTemplateIntoTagStruct(), msiRegisterData(), msiRenameCollection(), msiRenameLocalZone(), msiRmColl(), msiRollback(), msiSendMail(), msiSendXmsg(), msiServerMonPerf(), msiSetACL(), msiSetChkFilePathPerm(), msiSetDataTypeFromExt(), msiSetGraftPathScheme(), msiSetPublicUserOpr(), msiSetQuota(), msiSetReplComment(), msiSetRescSortScheme(), msiSplitPath(), msiSplitPathByKey(), msiStrCat(), msiStrchop(), msiStrlen(), msiStrToBytesBuf(), msiSubstr(), msiSysChksumDataObj(), msiSysMetaModify(), msiTarFileCreate(), msiTarFileExtract(), msiWriteRodsLog(), msiXmsgCreateStream(), msiXmsgServerConnect(), msiXmsgServerDisConnect(), mvObjUtil(), myChmod(), non_blocking_file_create(), non_blocking_file_open(), open_for_prefer_archive_policy(), openRestartFile(), openSpecColl(), irods::server_control_executor::operator()(), irods::callback::operator()(), irods::irods_string_hash::operator()(), mockarchive_resource::maintenance_operation::operator()(), non_blocking_resource::maintenance_operation::operator()(), unixfilesystem_resource::maintenance_operation::operator()(), osauthGenerateAuthenticator(), osauthGetAuth(), osauthGetKey(), osauthGetUid(), osauthGetUsername(), osauthVerifyResponse(), packNonpointerItem(), packPointerItem(), packRei(), packReiAndArg(), packStruct(), packXmlString(), irods::parse_kvp_string(), irods::parse_token_into_kvp(), parseCachedStructFileStr(), parseCmdLineOpt(), parseCmdLinePath(), parseMsKeyValStrForCollInp(), parseMsKeyValStrForDataObjInp(), parseMsKeyValStrForStructFileExtAndRegInp(), parseMsParamFromIRFile(), parseMspForCollInp(), parseMspForCondInp(), parseMspForCondKw(), parseMspForDataObjCopyInp(), parseMspForDataObjInp(), parseMspForDouble(), parseMspForExecCmdInp(), parseMspForFloat(), parseMspForPhyPathReg(), parseMspForPosInt(), parseMspForStr(), parsePackInstruct(), parseResForCollInp(), parseRodsPath(), parseXmlTag(), partialDataGet(), partialDataPut(), passthru_file_resolve_hierarchy(), passthru_resource::passthru_resource(), phyBundle(), phymvCollUtil(), phymvDataObjUtil(), phymvUtil(), popStack(), postProcBulkPut(), postProcRenamedPhyFiles(), prepareNonServerSharedMemory(), prepareServerSharedMemory(), print_doi(), irods::resource_manager::print_local_resources(), print_uoi(), printCollAcl(), printCollInheritance(), printDataAcl(), printLsLong(), printLsShort(), printServerHost(), printZoneInfo(), procApiReply(), procApiRequest(), procCacheDir(), procChksumForClose(), irods::resource_manager::process_init_results(), procReqRoutine(), procSingleConnReq(), purgeLockFileDir(), putDirUtil(), putFile(), putFileToPortal(), putFileToPortalRbudp(), putFileUtil(), putSeg(), putUtil(), queAddr(), queRescQuota(), queueSpecCollCache(), queZone(), rbudpRemLocCopy(), rcChksumLocFile(), rcDataObjGet(), rcDataObjPut(), rcDisconnect(), rclOpenCollection(), rcPartialDataGet(), rcPartialDataPut(), rcvTranHeader(), read_bytes_buf(), irods::read_client_server_negotiation_message(), readAndProcApiReply(), readAndProcClientMsg(), readCollection(), readDVarStructFromFile(), readFuncMapStructFromFile(), readLfRestartFile(), readMsrvcStructFromFile(), readPathnamePatterns(), readPathnamePatternsFromFile(), readProcLog(), readReconMsg(), readRuleStructAndRuleSetFromFile(), readStartupPack(), readTimeoutHandler(), readVersion(), readWorkerTask(), receiveDataFromServer(), reconnManager(), recordServerProcess(), recover_delayExec(), recover_remoteExec(), reDebug(), redirectConnToRescSvr(), register_regexes_from_array(), regNewObjSize(), regPhySubFile(), regSubfile(), regUnbunPhySubfiles(), regUnbunSubfiles(), regUtil(), remLocCopy(), remoteChkNVPathPerm(), remoteDataCopy(), remoteDataGet(), remoteDataPut(), remoteExecCmd(), remoteExecMyRule(), remoteFileChksum(), remoteFileChmod(), remoteFileClose(), remoteFileClosedir(), remoteFileCreate(), remoteFileGet(), remoteFileGetFsFreeSpace(), remoteFileLseek(), remoteFileMkdir(), remoteFileOpen(), remoteFileOpendir(), remoteFilePut(), remoteFileRead(), remoteFileReaddir(), remoteFileRename(), remoteFileRmdir(), remoteFileStageToCache(), remoteFileStat(), remoteFileSyncToArch(), remoteFileTruncate(), remoteFileUnlink(), remoteFileWrite(), remotePhyBundleColl(), remotePhyPathReg(), remoteProcStat(), remoteStructFileBundle(), remoteStructFileExtract(), remoteStructFileSync(), remoteSubStructFileClose(), remoteSubStructFileClosedir(), remoteSubStructFileCreate(), remoteSubStructFileGet(), remoteSubStructFileLseek(), remoteSubStructFileMkdir(), remoteSubStructFileOpen(), remoteSubStructFileOpendir(), remoteSubStructFilePut(), remoteSubStructFileRead(), remoteSubStructFileReaddir(), remoteSubStructFileRename(), remoteSubStructFileRmdir(), remoteSubStructFileStat(), remoteSubStructFileTruncate(), remoteSubStructFileUnlink(), remoteSubStructFileWrite(), remoteUnbunAndRegPhyBunfile(), removeAVUs(), removeMetaMapAndAVU(), removeSharedMemory(), remToLocPartialCopy(), renameFilePathToNewDir(), replAndAddSubFileToDir(), replCollUtil(), replDataObjUtil(), replica_exceeds_resource_free_space(), replUtil(), resetMutex(), resoAndConnHostByDataObjInfo(), resolve_hostname_from_hosts_config(), irods::resolve_plugin_path(), resolveDepInArray(), resolveHost(), resolveInfoForPhymv(), resolveInfoForTrim(), resolveIntDepItem(), resolveLinkedPath(), resolvePackedItem(), resolvePathInSpecColl(), resolveRodsTarget(), resolveSpecCollType(), resolveStrInItem(), restoreCache(), rmCollUtil(), rmDataObjUtil(), rmLinkedFilesInUnixDir(), rmTicketMsgStructFromHQue(), rmtrashCollUtil(), rmtrashDataObjUtil(), rmtrashUtil(), rmUtil(), rmXmsgFromXmsgQue(), rmXmsgFromXmsgTcketQue(), rodsLogError(), rodsLogErrorOld(), rodsLogSql(), rodsLogSqlResult(), rodsMonPerfLog(), rodsSetSockOpt(), round_robin_file_resolve_hierarchy(), round_robin_start_operation(), roundrobin_resource::roundrobin_resource(), rs_hello_world(), rsApiHandler(), rsAuthCheck(), rsAuthPluginRequest(), rsAuthRequest(), rsAuthResponse(), rsBulkDataObjReg(), rsChkNVPathPermByHost(), rsChkObjPermAndStat(), rsClientHints(), rsCloseCollection(), rsCollCreate(), rsCollRepl(), rsDataGet(), rsDataObjChksum(), rsDataObjCopy(), rsDataObjGet(), rsDataObjLock(), rsDataObjLseek(), rsDataObjPhymv(), rsDataObjPut(), rsDataObjRead(), rsDataObjRename(), rsDataObjRepl(), rsDataObjRsync(), rsDataObjTrim(), rsDataObjUnlink(), rsDataObjUnlock(), rsDataObjWrite(), rsDataPut(), rsEndTransaction(), rsExecCmd(), rsExecMyRule(), rsExecRuleExpression(), rsFileChksum(), rsFileChmod(), rsFileClose(), rsFileClosedir(), rsFileCreate(), rsFileGet(), rsFileGetFsFreeSpace(), rsFileLseek(), rsFileMkdir(), rsFileOpenByHost(), rsFileOpendir(), rsFilePut(), rsFileRead(), rsFileReaddir(), rsFileRename(), rsFileRmdir(), rsFileStageToCacheByHost(), rsFileStat(), rsFileStatByHost(), rsFileSyncToArchByHost(), rsFileTruncate(), rsFileUnlink(), rsFileWrite(), rsGeneralAdmin(), rsGeneralRowInsert(), rsGeneralRowPurge(), rsGeneralUpdate(), rsGenQuery(), rsGetHierarchyForResc(), rsGetLimitedPassword(), rsGetMiscSvrInfo(), rsGetRemoteZoneResc(), rsGetTempPassword(), rsGetTempPasswordForOther(), rsIESClientHints(), rsMkBundlePath(), rsMkCollR(), rsMkOrphanPath(), rsMkTrashPath(), rsModAccessControl(), rsModAVUMetadata(), rsModColl(), rsModDataObjMeta(), rsMvCollToTrash(), rsMvDataObjToTrash(), rsObjStat(), rsPamAuthRequest(), rsPipeSignalHandler(), rsProcStat(), rsQueryDataObjInCollReCur(), rsQuerySpecColl(), rsReadCollection(), rsRegColl(), rsRegDataObj(), rsRegReplica(), rsRmColl(), rsRsyncDataToData(), rsRsyncDataToFile(), rsRsyncFileToData(), rsRuleExecDel(), rsRuleExecMod(), rsRuleExecSubmit(), rsSendXmsg(), rsServerReport(), rsSetRoundRobinContext(), rsSimpleQuery(), rsSpecificQuery(), rsStreamClose(), rsStreamRead(), rsStructFileExtAndReg(), rsStructFileExtract(), rsStructFileSync(), rsSubStructFileClose(), rsSubStructFileClosedir(), rsSubStructFileCreate(), rsSubStructFileGet(), rsSubStructFileLseek(), rsSubStructFileMkdir(), rsSubStructFileOpen(), rsSubStructFileOpendir(), rsSubStructFilePut(), rsSubStructFileRead(), rsSubStructFileReaddir(), rsSubStructFileRename(), rsSubStructFileRmdir(), rsSubStructFileStat(), rsSubStructFileTruncate(), rsSubStructFileUnlink(), rsSubStructFileWrite(), rsSyncMountedColl(), rsTicketAdmin(), rstrcat(), rstrcpy(), rstrncat(), rsUnregDataObj(), rsUserAdmin(), rsyncCollToCollUtil(), rsyncCollToDirUtil(), rsyncDataToDataUtil(), rsyncDataToFileUtil(), rsyncDirToCollUtil(), rsyncFileToDataUtil(), rsyncUtil(), rsZoneReport(), rule_exists(), runIrodsAgentFactory(), sameHostCopy(), sameHostPartialCopy(), scanObj(), sColumn(), seedRandom(), seekInFile(), sendAndRecvBranchMsg(), sendApiReply(), sendApiRequest(), sendEnvironmentVarIntToSocket(), sendEnvironmentVarStrToSocket(), sendTranHeader(), irods::server_control_executor::server_control_executor(), irods::server_operation_shutdown(), serverExit(), serverize(), serverMain(), set_agent_process_name(), set_tcp_buffer_size(), setApiPerm(), setLocalAddr(), setOverQuota(), setPathForGraftPathScheme(), setPathForRandomScheme(), setRECacheSaltFromEnv(), setRemoteAddr(), setRescQuota(), setStateForResume(), setupSrvPortalForParaOpr(), sFklink(), signalExit(), singleL1Copy(), singleLocToRemCopy(), singleRemLocCopy(), singleRemToLocCopy(), smsi_writeLine(), sockOpenForInConn(), sortDataObjInfoRandom(), sortObjInfo(), sortObjInfoForRepl(), spawnManagerTask(), specCollClosedir(), specCollObjRename(), specCollReaddir(), specCollSubCreate(), specCollSubStat(), splitPathByKey(), ssl_agent_start(), ssl_agent_stop(), ssl_init_context(), ssl_load_hd_params(), ssl_log_error(), ssl_post_connection_check(), ssl_verify_callback(), sslAccept(), sslEnd(), sslInit(), sslLoadDHParams(), sslLogError(), sslPostConnectionCheck(), sslReadMsgBody(), sslReadMsgHeader(), sslShutdown(), sslStart(), sslVerifyCallback(), sslWriteMsgHeader(), sTable(), stage_tar_struct_file(), stageBundledData(), start(), startMonScript(), startProcConnReqThreads(), statPathInSpecColl(), stopProcConnReqThreads(), structFileReg(), svrChkReconnAtReadStart(), svrChkReconnAtSendStart(), svrPortalPutGet(), svrPortalPutGetRbudp(), svrRegDataObj(), svrSendCollOprStat(), svrSockOpenForInConn(), svrSwitchConnect(), svrToSvrConnect(), svrUnregColl(), syncCollPhyPath(), syncDataObjPhyPathS(), tar_file_extract(), tcp_read_msg_header(), trimCollUtil(), trimDataObjUtil(), trimMsParamArray(), trimUtil(), try_twice_to_create_socket(), typeRuleSet(), unbunAndStageBunfileObj(), unbunBulkBuf(), unbunPhyBunFile(), univ_mss_resource::univ_mss_resource(), unix_file_create(), unix_file_open(), unix_file_resolve_hierarchy(), unix_resolve_hierarchy_create(), unix_resolve_hierarchy_open(), unlockReadMutex(), unlockWriteMutex(), unmountFileDir(), unpackRei(), unpackReiAndArg(), unpackStruct(), irods::update_out_of_date_replicas(), updateCache(), irods::reg_repl::verify_and_update_replica(), verifyDatObjChksum(), warn_if_deprecated_context_string_set(), writeDVMapsIntoFile(), writeFNMapsIntoFile(), writeKeyValPairs(), writeLfRestartFile(), writeLine(), writeMSrvcsIntoFile(), writeRestartFile(), writeRulesIntoFile(), xmsgServerMain(), and irods::server_control_plane::~server_control_plane().

Here is the call graph for this function:

◆ rodsLogAndErrorMsg()

◆ rodsLogError()

void rodsLogError ( int  level,
int  rodsErrorCode,
char *  formatStr,
  ... 
)

Definition at line 422 of file rodsLog.cpp.

References BIG_STRING_LEN, NULL, rodsErrorName(), rodsLog(), and verbosityLevel.

Referenced by _cliGetCollOprStat(), _rcConnect(), _rsCollRsync(), _rsDataObjClose(), _rsDataObjOpen(), _rsDataObjUnlink(), _rsDataObjUnlock(), _rsPhyRmColl(), _svrSendCollOprStat(), addMsParamToArray(), branchReadAndProcApiReply(), bulkPutDirUtil(), bulkPutFileUtil(), bundleAndRegSubFiles(), bunUtil(), carryOverMsParam(), catDataObj(), changeToRootUser(), changeToServiceUser(), changeToUser(), chksumCollUtil(), chksumDataObjUtil(), chksumLocFile(), chksumUtil(), connectToRhost(), cpCollUtil(), cpUtil(), dataObjUnlinkS(), dropRootPrivilege(), evaluateActions(), fillBBufWithFile(), fsDataObjLock(), fsDataObjUnlock(), getCollUtil(), getFile(), getFileFromPortal(), getIncludeFile(), getLockCmdAndType(), getNextDataObjMetaInfo(), getNumFilesInDir(), getPhyBunPath(), getRodsObjType(), getUtil(), hash_rules(), iCommandProgStat(), initCondForCp(), initCondForGet(), initCondForPut(), initCondForRepl(), initServiceUser(), lfRestartGetWithInfo(), lfRestartPutWithInfo(), localProcStat(), locToRemPartialCopy(), lsDataObjUtilLong(), lsSubfilesInBundle(), lsUtil(), mcollUtil(), mkdirForFilePath(), mkdirUtil(), mvUtil(), openRestartFile(), osauthVerifyResponse(), parseCmdLineOpt(), parseMsKeyValStrForCollInp(), parseMsKeyValStrForDataObjInp(), parseMsKeyValStrForStructFileExtAndRegInp(), performAction(), phybunUtil(), phymvCollUtil(), phymvUtil(), printTime(), printTiming(), procApiReply(), procApiRequest(), procDataObjOpenForWrite(), purgeLockFileDir(), purgeLockFileWorkerTask(), putDirUtil(), putFile(), putFileToPortal(), putFileUtil(), putUtil(), rcDataObjGet(), rcDataObjRsync(), rcExecMyRule(), rcPartialDataGet(), rcPartialDataPut(), readAndProcClientMsg(), readReconMsg(), readVersion(), regSubfile(), regUnbunSubfiles(), regUtil(), remToLocPartialCopy(), replCollUtil(), replInOutStruct(), replMsParam(), replMsParamArray(), replUtil(), resolveRodsTarget(), rmFilesInDir(), rmSubDir(), rmtrashUtil(), rmUtil(), rsAcceptConn(), rsCollRepl(), rsDataObjCreate(), rsDataObjRepl(), rsMkOrphanPath(), rsyncCollToCollUtil(), rsyncCollToDirUtil(), rsyncDataToFileUtil(), rsyncDirToCollUtil(), rsyncFileToDataUtil(), rsyncUtil(), sameHostPartialCopy(), sendApiRequest(), sendReconnMsg(), sendStartupPack(), sockOpenForInConn(), sslEnd(), sslReadMsgHeader(), sslStart(), sslWriteMsgHeader(), startMonScript(), trimCollUtil(), trimDataObjInfo(), and trimUtil().

Here is the call graph for this function:

◆ rodsLogErrorOld()

void rodsLogErrorOld ( int  level,
int  rodsErrorCode,
char *  textStr 
)

Definition at line 397 of file rodsLog.cpp.

References NULL, rodsErrorName(), rodsLog(), and verbosityLevel.

Here is the call graph for this function:

◆ rodsLogLevel()

void rodsLogLevel ( int  level)

◆ rodsLogSql()

void rodsLogSql ( const char *  sql)

Definition at line 357 of file rodsLog.cpp.

References LOG_SQL, myPid, rodsLog(), and sqlVerbosityLevel.

Referenced by _cllExecSqlNoResult(), bindTheVariables(), cllExecSqlWithResult(), and cllExecSqlWithResultBV().

Here is the call graph for this function:

◆ rodsLogSqlReq()

void rodsLogSqlReq ( int  onOrOff)

Definition at line 352 of file rodsLog.cpp.

References sqlVerbosityLevel.

Referenced by main().

◆ rodsLogSqlResult()

void rodsLogSqlResult ( char *  stat)

Definition at line 363 of file rodsLog.cpp.

References LOG_SQL, myPid, rodsLog(), and sqlVerbosityLevel.

Referenced by _cllExecSqlNoResult(), cllExecSqlWithResult(), and cllExecSqlWithResultBV().

Here is the call graph for this function:

Variable Documentation

◆ irods_error_map

const std::map<const int, const std::string> irods_error_map = irods_error_map_construction::irods_error_map
static

Definition at line 7 of file rodsLog.cpp.

Referenced by rodsErrorName().

◆ myPid

pid_t myPid = 0

◆ sqlVerbosityLevel

int sqlVerbosityLevel = 0
static

Definition at line 41 of file rodsLog.cpp.

Referenced by rodsLogSql(), rodsLogSqlReq(), and rodsLogSqlResult().

◆ verbosityLevel

int verbosityLevel = 3
static