Up to V10 it was not possible to check who changed or created an ERP dataset. This is possibly causing a lot of confusion.[128]
An extra table named LOGTABLE has been added.
So now INSERTS, DELETES and manual UPDATES (by PARTlinkManager or PARTdataManager) are automatically logged here.
Furthermore the log information is used to update the ERP search index. See below.
LOGID VARCHAR(40) NOT NULL, TABNAME VARCHAR(15) NOT NULL, KEYFLD VARCHAR(15) NOT NULL, LOGKEY VARCHAR(500) NOT NULL, LOGEXT VARCHAR(64), LOGTIME VARCHAR(20) NOT NULL, USERNAME NVARCHAR(20), HOSTNAME NVARCHAR(20), PROGNAME VARCHAR(15), MODTYPE SMALLINT DEFAULT 0 NOT NULL, UPDSEARCH SMALLINT DEFAULT 0 NOT NULL,
You can view this table via PARTlinkManager -> Extras menu -> Database -> Edit additional tables.
Meaning of single LOGTABLE columns
Configuration in pappserver.cfg
In the
configuration file pappserver.cfg, tasks can be
defined. Currently these are:
[TaskManagerModule] TimerInterval=60 tasks=loadAll DBSearchIndexTask=1h DBClearLogTask=24h [DBClearLogTask] DaysToKeep=365
Explanations on the single setting options
TimerInterval: Specification in which interval (seconds) it shall be checked whether a new task is pending. Normally this does not have to be adjusted.
DBSearchIndexTask: Task interval for updating the ERP search index. The task checks the LOGTABLE whether there are new entries available. If yes, the ERP search index is updated.
DBClearLogTask: Task interval for clearing the LOGTABLE. This task deletes all entries from LOGTABLE.
1m Task is executed every minute 1h Task is executed every hour 13:21z Task is executed every day at 13:21 GMT mon 14:30 Task is executed every Monday at 14:30 (locale time) DaysToKeep: Number of days to store the entries in the LOGTABLE.

