Skip to content
Snippets Groups Projects
Commit ad7c3509 authored by Olivier Maury's avatar Olivier Maury
Browse files

Correction de logs

parent 97b9380d
No related branches found
No related tags found
1 merge request!2Correction de logs
......@@ -176,7 +176,7 @@ public final class SafranReceiver implements MessageListener, Runnable {
props.set(SimulationProperties.Property.START_YEAR, lastDate.getYear() + 1 - nbOfYears);
props.set(SimulationProperties.Property.END_YEAR, lastDate.getYear());
LOGGER.info("Send evaluation using SimulationLauncher.launch()");
LOGGER.info("Sending evaluation using SimulationLauncher.launch()...");
// as DOY for stages are provided, unset phenological model to use agroclimatic mode
props.unset(SimulationProperties.Property.PHENOLOGICAL_MODEL);
final Integer simulationId = launcher.launch(evaluation, props, USERNAME);
......
......@@ -9,7 +9,7 @@
</Console>
<!-- https://logging.apache.org/log4j/2.x/manual/appenders.html#RollingFileAppender -->
<!-- https://logging.apache.org/log4j/2.x/manual/configuration.html#PropertySubstitution -->
<RollingFile name="file" fileName="${env:AGROMETINFO_LOGS:-logs}/season.log"
<RollingFile name="file" fileName="${env:AGROMETINFO_LOGS:-logs}/agrometinfo-season-handler.log"
filePattern="${env:AGROMETINFO_LOGS:-logs}/$${date:yyyy-MM}/season-%d{yyy-MM-dd}-%i.log.gz">
<PatternLayout>
<pattern>[%d] %-5p | %c#%M() | %L - %m%n</pattern>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment