![]() |
T4S4
19.1 C8408 A23185
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
getBinLogFile logchannel target zip | |
This function download a binary logfile from the BGS server and store this in the local filesystem. More... | |
incrLogChannelSCTX LogChannel SecurityContext | |
Increases the secure context of a LogChannel. More... | |
storeBinLogFile src logchannel | |
This function upload a binary logfile to the BGS server. More... | |
testLogPattern logchannel pattern | |
Test the last line of a logfile for a keyword. More... | |
getBinLogFile | logchannel target zip | ||
This function download a binary logfile from the BGS server and store this in the local filesystem.
logchannel | the relative path to the logfile |
target | the file name in the local file system |
zip | (optional) "zip" compress the download |
download the logfile /sys/nihil/BGS_20120717-043049/tpbgs64_netd.log and store the compressed content in the file test.log.
References tpco_closeSrvSession(), tpco_connectTo(), tpco_filedelete(), tpco_getTPFSFile(), tpco_packfile(), tpco_renamefile(), and tpwrite().
incrLogChannelSCTX | LogChannel SecurityContext | ||
Increases the secure context of a LogChannel.
LogChannel | the log channel path |
SecurityContext | the new security context of the log channel (UNRESTRICTED, RESTRICTED, CONFIDENTIAL, STRICTLYCONFIDENTIAL) |
It is only possible to increase the security context. It has no effect if the security context of the log channel is STRICTLYCONFIDENTIAL and the parameter SecurityContext is UNRESTRICTED.
storeBinLogFile | src logchannel | ||
This function upload a binary logfile to the BGS server.
src | the file name in the local file system |
logchannel | the relative path to the logfile |
upload the logfile test.log to the BGS server (/tmp/test.log).
References tpco_closeSrvSession(), tpco_connectTo(), tpco_filedelete(), tpco_putTPFSFile(), tpco_unpackfile(), and tpwrite().
testLogPattern | logchannel pattern | ||
Test the last line of a logfile for a keyword.
logchannel | the relative path to the logfile |
pattern | TCL string pattern (keyword) |
Test, if the last logile in the logfile /sys/nihil/BGS_20120717-043049/tpbgs64_netd.log contains the pattern "*TEST*"
References tpco_closeSrvSession(), tpco_connectTo(), and tpwrite().