version 1.48, 2006/11/10 18:14:58
|
version 1.49, 2006/11/15 20:25:21
|
|
|
#else | #else |
| |
#ifdef PEGASUS_OS_ZOS | #ifdef PEGASUS_OS_ZOS |
logIdentity = System::CIMSERVER.getCString(); |
logIdentity = strdup(System::CIMSERVER.getCString()); |
// If System Log is used open it | // If System Log is used open it |
System::openlog(logIdentity, LOG_PID, LOG_DAEMON); | System::openlog(logIdentity, LOG_PID, LOG_DAEMON); |
#endif | #endif |
|
|
| |
#ifdef PEGASUS_OS_ZOS | #ifdef PEGASUS_OS_ZOS |
System::closelog(); | System::closelog(); |
|
free(logIdentity); |
#endif | #endif |
| |
#endif | #endif |
|
|
private: | private: |
| |
#ifdef PEGASUS_OS_ZOS | #ifdef PEGASUS_OS_ZOS |
CString logIdentity; |
char* logIdentity; |
#endif | #endif |
ofstream _logs[int(Logger::NUM_LOGS)]; | ofstream _logs[int(Logger::NUM_LOGS)]; |
}; | }; |