7 Teleservice Application Framework
User Manual 212/374
can not read data logger configuration,
can not allocate space
can not start child process
can not get on the bus
opcn_LogJobName is out of range
7.3.6.2.10 ylogd_set_log_file_cmd
Function Description
sint32 ylogd_set_log_file_cmd (const T_DBUS_Util * const opt_DBusInstance,
const charn * const opcn_LogJobName,
const charn * const opcn_Command)
The function the log file completion command.
When a log file is created due to log file management, the given command will be executed. If the command
contains the string defined by FORMATTER_FILENAME, then that portion of the command will be replaced by
the full path name of the created log file.
Information Flow
Input Information
holds all D-Bus information
maximum
MAX_DL_NAME_LENGTH
maximum
MAX_DL_COMMAND_LENGTH
pointer to the command to execute
Structure T_DBUS_Util
typedef struct
{
DBusConnection* pt_dbus_conn; // D-BUS connection instance
charn acn_myNameString[128]; // Name of the application, Don't use any
special
// characters, white spaces or new lines!
charn acn_myVersion[128]; // Additional value (for HELLO) signal (opt.)
charn acn_myStatus[128]; // Additional value (for HELLO) signal (opt.)
charn acn_myAddInfo[512]; // Additional value (for HELLO) signal (opt.)
sint32 s32_myTriginterval; // Time interval when the ysysd