version 1.95, 2005/02/05 22:59:24
|
version 1.96, 2005/02/14 21:15:33
|
|
|
// Amit K Arora (amita@in.ibm.com) for PEP101 | // Amit K Arora (amita@in.ibm.com) for PEP101 |
// David Dillard, VERITAS Software Corp. | // David Dillard, VERITAS Software Corp. |
// (david.dillard@veritas.com) | // (david.dillard@veritas.com) |
|
// Yi Zhou (yi.zhou@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
void System::openlog(const String ident) | void System::openlog(const String ident) |
{ | { |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) | #if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
// ATTN: Hard-code the "cimserver" identifier until the infrastructure |
char * ident_name = strdup(ident.getCString()); |
// is set up to pass this as the "ident" string. |
::openlog(ident_name, LOG_PID, LOG_DAEMON); |
//::openlog(ident.getCString(), LOG_PID|LOG_CONS, LOG_DAEMON); |
|
::openlog("cimserver", LOG_PID, LOG_DAEMON); |
|
| |
#endif | #endif |
| |