Download logFaces User Manual
Transcript
Copyright ©2009−2013 Moonlit Software Ltd, All rights reserved Recovery attempts rate specifies how frequently to try reconnection with database during recovery. Number of reconnection attempts specifies how many times to try before giving up on database and switching to a router mode. In the screen shot above, the recovery will run for 30 minutes trying to reconnect every minute. If during this time database comes back, everything will continue as normal. Note that during recovery process, incoming log statements are persisted on local disk and flushed into database when it comes back. When database is unavailable for a long time while application log keeps coming, there could be quite large amount of those backed up records. Maintenance schedule is an optional cron expression which will trigger a database maintenance job. Depending on the database the task is different. For example, in case of embedded database, its storage will be compacted and indexes rebuilt, other external SQL databases will have their indexes rebuild. In case of MongoDB there will be a 'repair' task which is very important for releasing the disk space to the OS since MongoDB doesn't release its storage by default and grows indefinitely. Note, however, that when capped collections are used, there is no need for any maintenance and this field will be hidden. No action will be taken if cron expression is not specified. Commit criteria lets you specify which events the server should persist into the database. Criteria is a simple collection of Boolean rules which you can manipulate to achieve a fine tuned filter. Figure 2.7: Commit criteria The example above will insure that everything except LFS application is persisted, however if LFS application emits some warnings (or above) events, we still want them saved. 21