oricdev / prosim

backend bone for computing similarities between OpenFoodFacts products
Other
0 stars 0 forks source link

Separate logs for each of the 3 projects #3

Open oricdev opened 6 years ago

oricdev commented 6 years ago

Requirements: Issue #1 implemented

Now preparer and intersecter use the same log files (1 single log4j.properties). One drawback is that it prevents actually these 2 tasks to run in parallel and cindependently because they use in write mode the same log file. To be fixed and also extended to feeders (one log file for each feeder 1 & 2). If possible, there shouldn't be anymore a hard-coded path in the log4j.properties (log4j.appender.file.File). Value to be stored and read from config.xml file?

oricdev commented 6 years ago

done today for intersecter task. Still FileAppender::filename is harcoded since relative path seems not to work properly (code commented in Main.java code at startup.