Translations - ONYX - 9.0 - Exploitation

Guide d'exploitation ONYX Server sur Linux/53/en

De MappingDoc
Révision datée du 29 novembre 2019 à 15:47 par Rdal (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Log cleaning and rotation

For practical reasons, the following commands must not scheduled for more than once a day. The aim is to prevent increasing the number of archives created, thus preventing the loss of the logs of the last days. The ideal frequency is 2 times a week, for instance monday night and thursday night, before the night batches are trigerred.

Archiving logs

This command allows you to convert any log file to text format and afterwards, to archive it in a zipped file which shows the date and time.

export MAPPING_PATH=/apps/mapping/conf/mapping.conf 
/apps/mapping/bin/map_cron -cleanlog -folder:/apps/mapping/spool/logs -format:TXT