version 1.5, 2003/10/22 14:26:04
|
version 1.11, 2006/11/10 18:14:58
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Sushma Fernandes, Hewlett-Packard Company (sushma_fernandes@hp.com) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <iostream> | #include <iostream> |
|
|
{ | { |
// Unable to write message to file | // Unable to write message to file |
// Log message | // Log message |
//l10n |
Logger::put_l(Logger::DEBUG_LOG, System::CIMSERVER, Logger::WARNING, |
//Logger::put(Logger::DEBUG_LOG,"Tracer",Logger::WARNING, |
|
//"Unable to write trace message to File $0",_fileName); |
|
Logger::put_l(Logger::DEBUG_LOG,"Tracer",Logger::WARNING, |
|
"Common.TraceFileHandlerWindows.UNABLE_TO_WRITE_TRACE_TO_FILE", | "Common.TraceFileHandlerWindows.UNABLE_TO_WRITE_TRACE_TO_FILE", |
"Unable to write trace message to File $0",_fileName); | "Unable to write trace message to File $0",_fileName); |
} | } |
|
|
{ | { |
// Invalid file handle | // Invalid file handle |
// Log message | // Log message |
//l10n |
Logger::put_l(Logger::DEBUG_LOG, System::CIMSERVER, Logger::WARNING, |
//Logger::put(Logger::DEBUG_LOG,"Tracer",Logger::WARNING, |
|
//"Invalid file handle for file $0",_fileName); |
|
Logger::put_l(Logger::DEBUG_LOG,"Tracer",Logger::WARNING, |
|
"Common.TraceFileHandlerWindows.INVALID_FILE_HANDLE", | "Common.TraceFileHandlerWindows.INVALID_FILE_HANDLE", |
"Invalid file handle for file $0",_fileName); | "Invalid file handle for file $0",_fileName); |
} | } |