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

Diff for /pegasus/src/Pegasus/Common/TraceFileHandlerPOSIX.cpp between version 1.6 and 1.7

version 1.6, 2006/10/13 18:04:49 version 1.7, 2006/11/10 18:14:58
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Sushma Fernandes, Hewlett-Packard Company (sushma_fernandes@hp.com)  
 //  
 // Modified By: Amit K Arora, IBM (amita@in.ibm.com) for Bug#1527  
 //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)  
 //              David Dillard, VERITAS Software Corp.  
 //                  (david.dillard@veritas.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #if defined(PEGASUS_OS_VMS) #if defined(PEGASUS_OS_VMS)
Line 98 
Line 91 
  
         // Set permissions on the trace file to 0400         // Set permissions on the trace file to 0400
  
         if (!FileSystem::          if (!FileSystem::changeFilePermissions(
             changeFilePermissions(String(_fileName), (S_IRUSR | S_IWUSR)))                  String(_fileName), (S_IRUSR | S_IWUSR)))
         {         {
             Logger::put_l(Logger::DEBUG_LOG, System::CIMSERVER,              Logger::put_l(
                           Logger::WARNING,                  Logger::DEBUG_LOG, System::CIMSERVER, Logger::WARNING,
                           "Common.TraceFileHandlerVms.FAILED_TO_SET_FILE_PERMISSIONS",                           "Common.TraceFileHandlerVms.FAILED_TO_SET_FILE_PERMISSIONS",
                           "Failed to set permissions on file $0", _fileName);                           "Failed to set permissions on file $0", _fileName);
             return;             return;
Line 181 
Line 174 
             // Unable to open file, log a message             // Unable to open file, log a message
             if (!_wroteToLog)             if (!_wroteToLog)
             {             {
                 Logger::put_l(Logger::DEBUG_LOG, System::CIMSERVER,                  Logger::put_l(
                               Logger::WARNING,                      Logger::DEBUG_LOG, System::CIMSERVER, Logger::WARNING,
                               "Common.TraceFileHandler.FAILED_TO_OPEN_FILE",                               "Common.TraceFileHandler.FAILED_TO_OPEN_FILE",
                               "Failed to open File $0", _fileName);                               "Failed to open File $0", _fileName);
                 _wroteToLog = true;                 _wroteToLog = true;


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2