Historique de la page
Sv translation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
On distingue 3 types de fichiers journaux :
La durée de conservation dépend du paramétrage de ces mécanismes de gestion des journaux. Il est possible de modifier leur configuration pour obtenir la durée de rétention souhaitée. Configuration LogBackLes fichiers de configuration par défaut se trouvent dans le répertoire
Pour effectuer des modifications, copier le fichier souhaité dans Exemple de configuration :
L'exemple ci-dessus, concernant le fichier de log principal core.log permet de conserver 20 fichiers de logs de 60Mo maximum chacun. Pour plus d'information sur la configuration, vous pouvez consulter le site Log4j ou encore cette documentation : https://logback.qos.ch/manual/appenders.html#RollingFileAppender |
Sv translation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
There are 3 types of log files:
The duration for which the logs are kept depends on the logs management mechanisms. Their configuration can be modified to the desired duration. LogBack configurationDefault configuration files are located in the directory
To edit them, copy the file to Example of configuration:
The example above, about the mail log file core.log, is used to keep 20 log files of 60MB each maximum. For more information about configuration, please visit the Log4j website or this documentation: https://logback.qos.ch/manual/appenders.html#RollingFileAppender |
Sv translation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Es gibt 3 Arten von Protokolldateien :
Die Aufbewahrungsdauer hängt von den Einstellungen dieser Protokollverwaltungsmechanismen ab. Es ist möglich, ihre Konfiguration auf die gewünschte Aufbewahrungszeit zu ändern. LogBack-KonfigurationDie Standardkonfigurationsdateien befinden sich im Verzeichnis
Um Änderungen vorzunehmen, kopieren Sie die gewünschte Datei nach Konfigurationsbeispiel:
Das auf die Log-Hauptdatei core.log bezogene obige Beispiel ermöglicht es, 20 Logdateien von jeweils maximal 60 MB zu speichern. Weitere Informationen zur Konfiguration finden Sie auf der Log4j-Website oder in dieser Dokumentation: https://logback.qos.ch/manual/appenders.html#RollingFileAppender |