Details
-
Fix
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unix
Description
Current Situation
A default for the YADE report logger (option log_filename) is defined in the ./bin/log4j.properties
# Configuration of JadeHTMLReportLog log4j.appender.JadeReportLogHTML.File=${java.io.tmpdir}/Jade-client.html # Configuration of JadeReportLog log4j.appender.JadeReportLog.File=${java.io.tmpdir}/Jade-client.log
Problem on Unix
- If you use two YADE Clients with different users then both tries to write into the same log file where the second user doesn't have write permissions.
Desired Behavior
The log4j.properties considers the users too so far the logs are written in different subdirectories:
# Configuration of JadeHTMLReportLog log4j.appender.JadeReportLogHTML.File=${java.io.tmpdir}/${user.name}/jade-client.html # Configuration of JadeReportLog log4j.appender.JadeReportLog.File=${java.io.tmpdir}/${user.name}/jade-client.log