| Back | Main view | Parent doc

Configuring database

This section allows administrator to configure database options and its logs that IMiS/ARChive uses. IMiS/ARChive is designed to be able to use remote database source over standard RPC protocol. By default, database resides locally and performance wise and security wise should be kept locally. Database is encapsulated in IMiS/ARChive database driver called iadbraima which starts with IMiS/ARChive server.

Database server section:
 
Location
This field defines on which host IMiS/ARChive database driver is running. By default IMiS/ARChive uses local database and local database driver iadbraima which starts with IMiS/ARChive.
Defaut: localhost
Example: imisarcdb.imis.si

Database log section:
 
LogFile
This is the absolute filename of the database log. Administrator must watch out that the user which is running IMiS/ARChive daemon has appropriate rights on the directory where log files are stored.
MaxSize
This parameter limits the size of one log file. Size is set in bytes. 0 means no limit.
BackupCount
Backup count parameter regulates how many log files with size MaxSize are stored for log backtracking. Files are names in standard UNIX logging style (/path/filename.1, /path/filename.2, etc with higher numbers meaning older log entries). When auditing logs thru web administration module, these log files are combined in 'LIFO' style. If MaxSize is set to 0, this parameter is ignored.
LogLevel
Log level parameter regulates which log entries are logged and which are skipped. Valid numbers are 1 thru 9.

1 - EMERGENCY (system is unusable)
2 - ALERT (action must be taken immediately)
3 - CRITICAL (critical condition)
4 - ERROR (error condition)
5 - WARNING (warning condition)
6 - NOTICE (normal but significant condition)
7 - INFO (informational condition)
8 - STATISTICAL (IMiS/ARChive proprietary informations)
9 - DEBUG (debug level messages)

When LogLevel is set to a particular level, all log entries with the level lower or equal to the set level are logged and other are skipped.





| Back | Main view | Parent doc