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)  

rsLog.cpp File Reference
#include "rsLog.hpp"
#include "rsGlobalExtern.hpp"
Include dependency graph for rsLog.cpp:

Go to the source code of this file.

Functions

char * getLogDir ()
 
int get_log_file_rotation_time ()
 
void getLogfileName (char **logFile, const char *logDir, const char *logFileName)
 
int chkLogfileName (const char *logDir, const char *logFileName)
 

Variables

static time_t LogfileLastChkTime = 0
 

Function Documentation

◆ chkLogfileName()

int chkLogfileName ( const char *  logDir,
const char *  logFileName 
)

Definition at line 88 of file rsLog.cpp.

References CurLogfileName, getLogfileName(), LOGFILE_CHK_INT, LogfileLastChkTime, and NULL.

Referenced by runIrodsAgentFactory(), and serverMain().

Here is the call graph for this function:

◆ get_log_file_rotation_time()

int get_log_file_rotation_time ( )

Definition at line 21 of file rsLog.cpp.

References DEF_LOGFILE_INT, irods::DEFAULT_LOG_ROTATION_IN_DAYS(), and LOGFILE_INT.

Referenced by getLogfileName().

Here is the call graph for this function:

◆ getLogDir()

char* getLogDir ( )

Definition at line 12 of file rsLog.cpp.

References DEF_LOG_DIR, and NULL.

Referenced by getLogfileName(), and initProcLog().

◆ getLogfileName()

void getLogfileName ( char **  logFile,
const char *  logDir,
const char *  logFileName 
)

Definition at line 45 of file rsLog.cpp.

References DEF_LOGFILE_PATTERN, get_log_file_rotation_time(), getLogDir(), LOGFILE_PATTERN, LogfileLastChkTime, MAX_NAME_LEN, and NULL.

Referenced by chkLogfileName(), logFileOpen(), runIrodsAgentFactory(), and serverize().

Here is the call graph for this function:

Variable Documentation

◆ LogfileLastChkTime

time_t LogfileLastChkTime = 0
static

Definition at line 9 of file rsLog.cpp.

Referenced by chkLogfileName(), and getLogfileName().