Translations - ONYX - 9.0 - Exploitation
Guide d'exploitation ONYX Server sur Linux/53/en
De MappingDoc
Révision datée du 8 août 2019 à 14:04 par Alestoquoi (discussion | contributions) (Page créée avec « ==== Cleaning and log rotation ==== For practical reasons, the following commands must not scheduled for more than once a day. The aim is to prevent increasing the number... »)
Cleaning and log 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