5.16. Log to Database
This module works on all the records in the other filters and exports the log into a database. Following shows [Log to Database Config] dialog:

Operation instruction:
- In the [Log cache size] blank, fill up a number.
- Press <Browse> to direct a database link file.
- Press <Test> to test the database link whether it works or not.
- Press <Config> to modify the database information in UDL file.
Additional instruction:
Additional instruction:
- [Log cache size]: this number represents a maximum number how many records can be stored in cache, is 100 by default. A bigger number will cost more memory, while a smaller number will lead to low performance because of too many operations in hard disk I/O.
- [Db link file]: UDL file is used for connecting the database. UDL is Usual Database Link file for short, which stores a string which connects the database.
- The <Active Wall> installation has a database of Access type. Users can export to the database of Access directly, or can create a new database and modify the UDL file.
- The following statement is used to create a database table structure:
CREATE TABLE [EventLog] (
[ID] [int] IDENTITY (1, 1) PRIMARY KEY ,
[EventTime] [datetime] NOT NULL ,
[LanIP] [nvarchar] (15) NOT NULL ,
[WanIP] [nvarchar] (15) NOT NULL ,
[PlugIn] [nvarchar] (20) NOT NULL ,
[Act] [int] NOT NULL ,
[Msg] [nvarchar] (255) NOT NULL ,
[Res] [ntext] NULL
)
Active Network CO., Ltd