![]() |
T4EA
19.1 C8408 A23185
Teamcenter Gateway for Enterprise Applications API Reference
|
Functions | |
tpco_setdlogchannel | |
This function sets the default logchannel for logmessages. Don't change it in the T4x server-environment. More... | |
tpco_udpDumpLogFile | |
This function exports a logfile from the logserver. The tpco_udpDumpLogFile function works only in the BGS enviroment. For an external usage, use the TPRPC call ::LOGSRV::dumpLogFile. More... | |
tpwrite | |
This function writes a log message to the T4x BGS LogServer. More... | |
tpco_setdlogchannel |
This function sets the default logchannel for logmessages. Don't change it in the T4x server-environment.
logchannel | the default logchannel |
tpco_udpDumpLogFile |
This function exports a logfile from the logserver. The tpco_udpDumpLogFile function works only in the BGS enviroment. For an external usage, use the TPRPC call ::LOGSRV::dumpLogFile.
outtype | string (logfile translate to a UTF-8 string) html (logfile translate to a HTML string) native (internal use only) |
size | the last n-lines of the logfile. -1 = all lines |
filename | the name and path of the logfile |
example: dump logfile in the BGS enviroment - last 10 lines as text output
example: dump logfile via network call - last 10 lines as text output
tpwrite |
This function writes a log message to the T4x BGS LogServer.
logmessage | the logmessage (max size of the logmessage is 32 KByte) |
-logchannel | (optional) write the message in the defined logchannel. The default logchannel are defined with tpco_setdlogchannel. The logchannel is the relative path to the logroot. |
-stacklevel | (optional) indentation of the logmessage. Default= 0 range=0..63 |
-struct | (optional) for internal use only |
-mtype | (optional) the type of the message (default=DEBUG) DEBUG white ERROR red WARNING yellow/orange INTERN grey NOTE blue - use this for important messages OK green |
example: write a logmessage to the default logchannel.
example: write an error logmessage to the default logchannel.
example: write a "note" logmessage to the logchannel /tmp/xyz/new_debug.log
Referenced by T4X::MESSAGING::acknowledgeMessage(), CONFIGURATION::MANAGER::InstalledProductKeys::addProductKey(), SYSBase::aexec(), ITK::BOMLINE_cutbomline(), T4EA::GENBOM::CUSTOM::MAPPING::callCustomerRuleHandler(), T4EA::GENOBJ::CUSTOM::MAPPING::callCustomerRuleHandler(), T4X::SOAP::CLIENT::callSoapOperation(), T4EA::CONNECTION2EA::CUSTOM::MAPPING::checkActiveEASystemForTargetTypeName(), T4EA::CUSTOM::SERVICES::DEMOERP::checkConnection(), T4EA::JDBC::ORACLE::checkConnection(), T4EA::CUSTOM::SERVICES::checkConnection(), T4X::CONNECTION2EA::checkConnection2EA(), T4EA::PROP::MAPPING::checkConnection2EA4Session(), T4EA::CONNECTION2EA::CUSTOM::MAPPING::checkConnection2EA4Session(), T4EA::CONNECTION2EA::CUSTOM::MAPPING::checkConnection2EA4Transaction(), T4EA::GENOBJ::CUSTOM::MAPPING::checkConnection2EA4Transaction(), T4X::BATCHJOB::EXPORT::checkConnection2ERP(), T4X::BATCHJOB::IMPORT::checkConnection2ERP(), T4EA::checkEAPassword(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::cleanUp(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::cleanUp(), T4EA::BOM::CUSTOM::ITEM::IMPORT::cleanUp(), T4EA::JDBC::ORACLE::cleanupAllJdbcConnections(), T4EA::JDBC::ORACLE::cleanupJdbcConnection(), T4X::MESSAGING::closeAll(), T4X::MESSAGING::closeConnection(), API::Core::Batch::connect(), ITK::connect2TcDB(), T4EA::CONNECTION2EA::CUSTOM::MAPPING::connectEA(), API::Core::Batch::connectTo(), T4X::BATCHJOB::EXPORT::createBatchjob(), T4X::BATCHJOB::IMPORT::createBatchjob(), T4X::TEST::WORKFLOW::createBatchJob4Workflow(), T4EA::JDBC::ORACLE::createJdbcMetafile(), T4X::BATCHJOB::EXPORT::createJob(), T4X::BATCHJOB::IMPORT::createJob(), T4EA::CUSTOM::ORACLE::createProductInformation(), T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::createTC_Object(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::createTC_Object(), T4EA::BOM::CUSTOM::ITEM::IMPORT::createTC_Object(), T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object2(), T4EA::BOM::CUSTOM::ITEM::IMPORT::createTCBOMview_Object(), T4EA::CUSTOM::SERVICES::DEMOERP::DemoERPService(), T4X::SOAP::CLIENT::deployShmemVariable(), T4EA::PROP::CUSTOM::MAPPING::displayOfbizFixedAsset(), T4EA::PROP::CUSTOM::MAPPING::displayOfbizProduct(), T4EA::PROP::CUSTOM::MAPPING::displayOracleProductInformation(), T4EA::PROP::CUSTOM::MAPPING::displaySoapArticle(), T4EA::PROP::CUSTOM::MAPPING::displaySoapDocument(), T4EA::GENOBJ::CUSTOM::MAPPING::EA_Object2TC_Object(), T4EA::GENBOM::CUSTOM::MAPPING::EA_Object2TC_Object(), PL4X::LOG::ENTER(), T4X::BATCHJOB::EXPORT::executeExportJob(), T4X::BATCHJOB::EXPORT::executeExportJob2(), T4X::BATCHJOB::IMPORT::executeImportJob(), T4X::BATCHJOB::IMPORT::executeImportJob2(), T4EA::QUERY::CUSTOM::MAPPING::executeQuery(), T4EA::QUERY::CUSTOM::MAPPING::executeQuery4OfbizProduct(), T4EA::QUERY::CUSTOM::MAPPING::executeQuery4ProductInformation(), T4X::SOA::executeTCSOACall(), T4X::TEST::WORKFLOW::executeTcWorkflowJob(), T4X::SOAP::CLIENT::existsShmemVariable(), T4X::TC::MAPPING::FieldMapping(), T4X::TC::MAPPING::findIndexedObjectId4Value(), T4X::TC::MAPPING::findIndexedObjectList4Attribute(), T4X::TC::MAPPING::findObjectId4Value(), T4X::TC::MAPPING::findObjectList(), T4X::TC::MAPPING::findObjectList4Value(), T4X::TC::MAPPING::findRootTaskObjectList2(), findStartedSuccessorTask(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::GenObjMapping2TC_Object(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::GenObjMapping2TC_Object(), T4EA::PROP::CUSTOM::MAPPING::getArrayDataSave(), getBinLogFile(), T4EA::JDBC::ORACLE::getConnectionHandle4System(), T4X::SOA::getConnectionParameters(), T4EA::BOM::CUSTOM::ITEM::IMPORT::getCurrentTcBomInfo(), T4X::BATCHJOB::TOOLBOX::getDictValue(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_Article(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_BillOfMaterial(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_Document(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_FixedAsset(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_Product(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_ProductAssociation(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_ProductDocument(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_ProductInformation(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_QueryResultObject(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getERPOutputData(), T4EA::PROP::MAPPING::getExternalDataView(), T4X::TC::MAPPING::getFormNames4Object(), T4EA::BOM::CUSTOM::ITEM::IMPORT::getImportBomInfo(), T4EA::getLocalizationString(), T4X::TC::MAPPING::getObjectAttributeValue(), ITK::getObjectData(), T4EA::CUSTOM::ORACLE::getObjectInfo(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::getObjectInfo(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getObjectInfo(), T4EA::GENOBJ::CUSTOM::MAPPING::getObjectInfo(), T4EA::GENBOM::CUSTOM::MAPPING::getObjectInfo(), T4X::TC::MAPPING::getObjectsValueList(), T4X::PLMXML::READ2DICT::GetPlmlXmlInfos2Dict(), T4X::PLMXML::READ2DICT::GetPlmlXmlObjectInfos2Dict(), T4X::PLMXML::READ2DICT::GetPlmlXmlReadCtrlParameter(), T4X::PLMXML::READ2DICT::GetPlmlXmlStructure4Occurrence2Dict(), T4X::PLMXML::READ2DICT::GetPlmlXmlStructure4StructureHeader2Dict(), T4X::TC::MAPPING::getPreferenceValue(), T4X::TC::MAPPING::getQueryArgumentValue(), ITK::getReleatedObjectTag2(), T4X::XML::PARSER::getResultArrayInfo(), T4X::TC::MAPPING::getRootTaskFieldMappingValueList(), ITK::getStoredConnectionParameters(), ITK::MULTI::CONNECT::getStoredMultiConnectionParameters(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::getTargetRevisionFromList(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getTargetRevisionFromList(), T4EA::BOM::CUSTOM::ITEM::IMPORT::getTargetRevisionFromList(), T4EA::CONNECTION2EA::CUSTOM::MAPPING::getTargetTypeNames4Connection(), T4EA::GENBOM::CUSTOM::MAPPING::getTcData(), T4X::TRANSLOG::getTransLogFile(), T4X::TC::MAPPING::getWorkflowArgumentValue2(), T4X::TC::MAPPING::getWorkflowArgumentValue3(), T4EA::PROP::CUSTOM::MAPPING::getXmlData(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::getXmlData(), T4X::BATCHJOB::EXPORT::handleBatchJob(), T4X::BATCHJOB::IMPORT::handleBatchJob(), T4EA::BOM::CUSTOM::ITEM::IMPORT::importBOM2TcBOM(), T4X::CUSTOM::MAPPING::TOOLBOX::importNamedReference(), T4EA::QUERY::CUSTOM::MAPPING::importQueryRowViaBatch(), T4X::TC::MAPPING::IndexedFieldMapping(), T4EA::JDBC::ORACLE::initJdbcConnection(), PL4X::LOG::LEAVE(), SYSBase::loadLibrary(), PL4X::LOG::LOG(), T4EA::CUSTOM::ORACLE::logException(), T4X::BATCHJOB::TOOLBOX::logStatusInfo(), T4X::TNT::logTestReport(), T4X::TestingSupport::logTestReport(), T4X::CORE::matchStringWithRegExp(), T4EA::CUSTOM::SERVICES::ofBIZservice(), T4EA::CUSTOM::SERVICES::ofBIZservice4BillOfMaterial(), T4EA::CUSTOM::SERVICES::ofBIZservice4Document(), T4EA::CUSTOM::SERVICES::ofBIZservice4getAssociatedProducts(), T4EA::CUSTOM::SERVICES::ofBIZservice4Product(), T4X::SOA::performEBSCall(), T4X::SOA::performGenericWebServiceCall(), T4X::SOA::performGenericWebServiceCall2(), T4X::SOA::performGenericWebServiceCallFireAndForget(), T4X::SOA::performSAPBAPICall(), T4X::SOA::performSAPESCall(), T4EA::GENOBJ::CUSTOM::MAPPING::performTransfer(), T4EA::GENBOM::CUSTOM::MAPPING::performTransfer(), T4EA::CUSTOM::SERVICES::prepareStatus(), T4X::TC::MAPPING::printIndexTcData(), T4X::TC::MAPPING::printTcBomLineData(), T4X::TC::MAPPING::printTcData(), T4X::TC::MAPPING::printTcRootTaskData(), T4X::CONNECTION2EA::readConnectionInfo4Session(), T4X::MESSAGING::receiveMessage(), T4X::TC::MAPPING::RootTaskFieldMapping(), T4X::TC::MAPPING::save_unlockTcObject(), T4X::CUSTOM::MAPPING::TOOLBOX::saveItemWithUnlock(), T4X::TC::MAPPING::searchIndexedObjectList(), T4X::TC::MAPPING::searchObjectList(), T4X::TC::MAPPING::searchRootTaskObjectList(), T4X::CONNECTION2EA::selectActiveConnection2EA(), T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_Object(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::selectTC_Object(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::selectTC_Object(), T4EA::BOM::CUSTOM::ITEM::IMPORT::selectTC_Object(), T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_ScheduleObject(), T4EA::BOM::CUSTOM::ITEM::IMPORT::selectTCBOMview_Object(), T4X::MESSAGING::sendBinaryMessage(), EMail::sendmail2(), T4X::MESSAGING::sendStringMessage(), T4X::BATCHJOB::TOOLBOX::setBatchjobStatus(), SYSBase::sexec(), T4X::MESSAGING::startConnection(), T4X::TRANSLOG::startTransactionLog(), T4X::TRANSLOG::stopTransactionLog(), storeBinLogFile(), ITK::storeConnectionParameters(), T4X::CORE::storeMessage2(), T4X::CORE::storeMessage2DatasetLogfile(), T4X::CORE::storeUserMessage(), T4EA::GENOBJ::CUSTOM::MAPPING::TC_Object2EA_Object(), T4EA::GENBOM::CUSTOM::MAPPING::TC_Object2EA_Object(), T4EA::GENBOM::CUSTOM::MAPPING::TC_Object2EA_ObjectPosition(), testLogPattern(), tp_crashexit(), T4EA::CUSTOM::ORACLE::updateProductInformation(), T4X::BATCHJOB::IMPORT::updateStatus4ZTableId(), T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::updateTC_Object(), T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::updateTC_Object(), T4EA::BOM::CUSTOM::ITEM::IMPORT::updateTC_Object(), T4X::TRANSLOG::writeArrayLog(), T4X::TRANSLOG::writeBomLineMappingStatusLog(), T4X::TRANSLOG::writeCustomMappingLog(), T4X::TRANSLOG::writeCustomMappingStatusLog(), T4X::TRANSLOG::writeCustomReverseMappingLog(), T4X::TRANSLOG::writeCustomReverseMappingStatusLog(), T4X::TRANSLOG::writeImportStatusInfoLog(), T4X::CORE::writeLogLineWithAttachment2BGS(), T4X::TRANSLOG::writeMultiStatusDictLog(), T4X::TRANSLOG::writeMultiStatusLog(), T4X::TRANSLOG::writePlainInfoLog(), T4X::TRANSLOG::writeStatusDictLog(), T4X::TRANSLOG::writeStatusIntoMessageDetails(), T4X::TRANSLOG::writeStatusLog(), T4X::TRANSLOG::writeTcSysLogFileEntry(), T4X::BATCHJOB::TOOLBOX::writeTcUser2LogIndex(), T4X::BATCHJOB::IMPORT::writeTransactionLog(), T4X::CORE::writeVersionInfo2LogChannel(), and T4X::TRANSLOG::writeVersionInfo2TransactionLog().