Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
66badc06
by Tony Chemit at 2022-06-20T18:06:57+02:00
-
9790a883
by Tony Chemit at 2022-06-20T18:06:57+02:00
2 changed files:
- CHANGELOG.md
- server/configuration/src/main/java/fr/ird/observe/server/configuration/ServerConfig.java
Changes:
| 1 | 1 | # ObServe changelog
|
| 2 | 2 | |
| 3 | 3 | * Author [Tony Chemit](mailto:dev@tchemit.fr)
|
| 4 | - * Last generated at 2022-06-12 10:55.
|
|
| 4 | + * Last generated at 2022-06-20 18:06.
|
|
| 5 | + |
|
| 6 | +## Version [9.0.6](https://gitlab.com/ultreiaio/ird-observe/-/milestones/231)
|
|
| 7 | + |
|
| 8 | +**Closed at 2022-06-20.**
|
|
| 9 | + |
|
| 10 | +### Download
|
|
| 11 | +* [Client (observe-9.0.6-client.zip)](https://repo1.maven.org/maven2/fr/ird/observe/observe/9.0.6/observe-9.0.6-client.zip)
|
|
| 12 | +* [Serveur (observe-9.0.6.war)](https://repo1.maven.org/maven2/fr/ird/observe/observe/9.0.6/observe-9.0.6.war)
|
|
| 13 | +* [Serveur (observe-9.0.6-server.zip)](https://repo1.maven.org/maven2/fr/ird/observe/observe/9.0.6/observe-9.0.6-server.zip)
|
|
| 14 | + |
|
| 15 | + |
|
| 16 | +### Issues
|
|
| 17 | + * [[Type::Anomalie 2005]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2005) **Erreur d'ajout de trip ( methode POST)** (Thanks to Tony CHEMIT) (Reported by adelphe n'goran)
|
|
| 18 | + * [[Type::Anomalie 2283]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2283) **Nom du fichier de log constant sur le serveur quelque soit la version installée** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
|
| 19 | + * [[Type::Anomalie 2335]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2335) **En cas de perte de connexion, le message est un peu violent** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
|
| 20 | + * [[Type::Anomalie 2400]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2400) **Toujours un petit problème d'accessibilité de l'action Enregistrer sur les formulaires de type tableau** (Thanks to ) (Reported by Tony CHEMIT)
|
|
| 21 | + * [[Type::Anomalie 2402]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2402) **Exception** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
|
| 22 | + * [[Type::Anomalie 2403]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2403) **Erreur en quittant le gestionnaire de connexions** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
|
| 23 | + * [[Type::Anomalie 2404]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2404) **INDEX en doublons ?** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
|
| 24 | + * [[Type::Anomalie 2405]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2405) **Erreur sur les commentaires du référentiel Type de balise sélectionné** (Thanks to adelphe n'goran) (Reported by adelphe n'goran)
|
|
| 25 | + * [[Type::Anomalie 2407]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2407) **Revue et correction du cache de contextes de persistance** (Thanks to Tony CHEMIT) (Reported by Tony CHEMIT)
|
|
| 26 | + * [[Type::Anomalie 2408]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2408) **Avec java 17 les erreurs sont mal remontée depuis le serveur** (Thanks to Tony CHEMIT) (Reported by Tony CHEMIT)
|
|
| 27 | + * [[Type::Evolution 2406]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2406) **Préfixes des statistiques dans l'arbre** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
|
| 5 | 28 | |
| 6 | 29 | ## Version [9.0.5](https://gitlab.com/ultreiaio/ird-observe/-/milestones/230)
|
| 7 | 30 | |
| ... | ... | @@ -12,7 +35,6 @@ |
| 12 | 35 | * [Serveur (observe-9.0.5.war)](https://repo1.maven.org/maven2/fr/ird/observe/observe/9.0.5/observe-9.0.5.war)
|
| 13 | 36 | * [Serveur (observe-9.0.5-server.zip)](https://repo1.maven.org/maven2/fr/ird/observe/observe/9.0.5/observe-9.0.5-server.zip)
|
| 14 | 37 | |
| 15 | - |
|
| 16 | 38 | ### Issues
|
| 17 | 39 | * [[Type::Anomalie 2398]](https://gitlab.com/ultreiaio/ird-observe/-/issues/2398) **Exception sur consultation des UI referentiel** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil)
|
| 18 | 40 |
| ... | ... | @@ -146,10 +146,13 @@ public class ServerConfig extends GeneratedServerConfig implements CleanTemporar |
| 146 | 146 | }
|
| 147 | 147 | |
| 148 | 148 | File log4jConfigurationFile = getCommonLog4jConfigurationFile();
|
| 149 | - if (!log4jConfigurationFile.exists()) {
|
|
| 150 | - ServerResources.LOG_CONFIGURATION.copyResource(log4jConfigurationFile);
|
|
| 151 | - log.info(String.format("Generate empty log4j configuration file to: %s", log4jConfigurationFile));
|
|
| 149 | + try {
|
|
| 150 | + Files.deleteIfExists(log4jConfigurationFile.toPath());
|
|
| 151 | + } catch (IOException e) {
|
|
| 152 | + throw new RuntimeException(e);
|
|
| 152 | 153 | }
|
| 154 | + ServerResources.LOG_CONFIGURATION.copyResource(log4jConfigurationFile);
|
|
| 155 | + log.info(String.format("Generate empty log4j configuration file to: %s", log4jConfigurationFile));
|
|
| 153 | 156 | }
|
| 154 | 157 | |
| 155 | 158 | public boolean isWindows() {
|
| ... | ... | @@ -221,11 +224,16 @@ public class ServerConfig extends GeneratedServerConfig implements CleanTemporar |
| 221 | 224 | }
|
| 222 | 225 | |
| 223 | 226 | private void initLog() {
|
| 224 | - File logFile = getLog4jConfigurationFile();
|
|
| 225 | - log.info(String.format("Chargement du fichier de log : %s", logFile));
|
|
| 226 | - ObserveUtil.loadLogConfiguration(ServerResources.LOG_CONFIGURATION, getCommonLog4jConfigurationFile().toPath(), logFile.toPath(), this);
|
|
| 227 | + File log4jConfigurationFile = getLog4jConfigurationFile();
|
|
| 228 | + try {
|
|
| 229 | + Files.deleteIfExists(log4jConfigurationFile.toPath());
|
|
| 230 | + } catch (IOException e) {
|
|
| 231 | + throw new RuntimeException(e);
|
|
| 232 | + }
|
|
| 233 | + log.info(String.format("Chargement du fichier de log : %s", log4jConfigurationFile));
|
|
| 234 | + ObserveUtil.loadLogConfiguration(ServerResources.LOG_CONFIGURATION, getCommonLog4jConfigurationFile().toPath(), log4jConfigurationFile.toPath(), this);
|
|
| 227 | 235 | log = LogManager.getLogger(ServerConfig.class);
|
| 228 | - log.info(String.format("Configuration des logs chargée depuis le fichier %s", logFile));
|
|
| 236 | + log.info(String.format("Configuration des logs chargée depuis le fichier %s", log4jConfigurationFile));
|
|
| 229 | 237 | }
|
| 230 | 238 | |
| 231 | 239 | } |