(file) Return to TraceFileHandler.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/TraceFileHandler.h between version 1.23 and 1.24

version 1.23, 2012/12/21 11:28:21 version 1.24, 2013/03/14 10:23:37
Line 72 
Line 72 
      */      */
     void _logError(ErrLogMessageIds msgID, const MessageLoaderParms & parms);     void _logError(ErrLogMessageIds msgID, const MessageLoaderParms & parms);
  
       /* Function checking files exists or not and return boolean value
          if file not there then it will create file */
       Boolean _fileExists(char* fileName);
   
     /* File path to write messages     /* File path to write messages
      */      */
     char* _fileName;     char* _fileName;
Line 86 
Line 90 
     Uint16 _logErrorBitField;     Uint16 _logErrorBitField;
     Boolean _configHasChanged;     Boolean _configHasChanged;
  
 #ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU  
     /* Base File path to write messages  
      */  
     char* _baseFileName;  
   
     /* Count for the suffix of the trace file  
      */  
     Uint32 _fileCount;  
 #endif  
   
 public: public:
  
     /** Writes message with format string to the tracing facility     /** Writes message with format string to the tracing facility
Line 122 
Line 116 
      */      */
     virtual void configurationUpdated();     virtual void configurationUpdated();
  
       /** Sets the Max trace file size for cimserver.trc
           @param   maxTraceFileSizeBytes maximum trace file size in bytes
        */
       void setMaxTraceFileSize (Uint32 maxTraceFileSizeBytes);
   
       /** Sets the Max trace file number for cimserver.trc in trace folder
           @param   maxTraceFileNumber maximum trace number
        */
       void setMaxTraceFileNumber(Uint32 maxTraceFileNumber);
   
       /** Create a new trace file until number of files reach
           after that it will start rolling all files
           (means it will start replacing older files with new files).
           @param fileName file to roll, this is the trace file name
        */
       void rollTraceFile(const char* fileName);
   
     TraceFileHandler();     TraceFileHandler();
  
     virtual ~TraceFileHandler();     virtual ~TraceFileHandler();
  
 private: private:
  
     /** Prepares write of message to file.  
         Implementation of this function is platform specific  
      */  
     void prepareFileHandle(void);  
     void _reConfigure(void);     void _reConfigure(void);
       Uint32 _maxTraceFileSizeBytes;
       Uint32 _maxTraceFileNumber;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2