Setting logging preferences

Top  Previous  Next

JSCAPE Reverse Proxy logs all domain activity to a log directory or JDBC accessible database.

 

File Log

Database Log

 

File Log

 

Logs all server activity to a directory.

Figure 4

 

clip004

 

Log directory - The directory where to store log files.

 

Rotate logs - The frequency in which to rotate log files.

 

 

Database Log

 

Logs all server activity to a JDBC accessible database.  To use the Database log option you must first create the database on your database server.  Scripts for creating a database may be found in the etc directory of your  JSCAPE Reverse Proxy installation.  Scripts for MySQL, Microsoft SQL Server and Oracle are provided in the files named mysql.sql, mssql.sql and oracle.sql respectively.  Libraries for JDBC drivers must be placed in the lib directory of your JSCAPE Reverse Proxy installation, the JDBC driver class registered in File > Settings > JDBC, and the JSCAPE Reverse Proxy Service restarted in order for the new drivers to be loaded.

 

Figure 5

 

clip005

 

JDBC URL - The JDBC URL used to connect to the database.  The above example demonstrates connecting to a MySQL database.  Contact your database vendor for access to JDBC libraries and assistance on specifying the JDBC URL.

 

User - The username to connect with when authenticating with JDBC database.

 

Password - The password to connect with when authenticating with JDBC database.

 

Pool size - The maximum number of connections in database pool.

 

Time-to-live - The maximum amount of time in minutes that the database connection can live in the pool without activity.

 

Test - Tests database connection using the specified JDBC settings.

 

See also

 

JDBC settings