7 Teleservice Application Framework
User Manual
210/374
7.3.6.2.9
ylogd_set_log_management
Function Description
sint32 ylogd_set_log_management(const T_DBUS_Util * const opt_DBusInstance,
const charn * const opcn_LogJobName,
const charn * const opcn_LogDestination,
const uint32 ou32_LogDuration,
const uint32 ou32_LogCompression,
const uint32 ou32_LogFolderSize,
const charn * const opcn_LogFileExtension);
The function configures the log management settings of a log job.
When the log job terminates or a file limit is reached, a resulting log file will be placed in the destination
directory. The file name will be "LOGJOB_START_STOP.EXT[.gz]".
LOGJOB - opcn_LogJobName
START
– time of file start YYYYMMDDHHmmss
STOP
– time of file stop YYYYMMDDHHmmss
EXT
– "dlf" or opcn_LogFileExtension
[.gz]
– optional extension if compression is used
If the folder size limit is reached, the oldest log files in the folder will be removed until the folder size limit is
maintained.
If the destination folder does not exist, the system will attempt to create it.
Information Flow
Input Information
Parameter
Range
Description
opt_DBusInstance
T_DBUS_Util
holds all D-Bus information
opcn_LogJobName
maximum
MAX_DL_NAME_LENGTH
pointer to log job name that shall be activated
opcn_LogDestination
maximum
MAX_DL_NAME_LENGTH
destination folder, logs will be copied to
this folder when the LogDuration or Jobsize is
reached.
If folder is " ", then no copy will occur.
ou32_LogDuration
minutes in size of log file, 0 means new file at
midnight
ou32_LogCompression
0 no compression,
1 gzip compression
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...