Hi,
We are using TOS DI v5.5.1. I have the following two questions regarding Log4j related configurations:
(1)
Log4j configuration: '
https://help.talend.com/pages/viewpage.action?pageId=207421454' states ${TalendJob.log} as a dynamic file name variable. But, using this variable is creating a file as 'jobName.log' in the specified folder, say, D:/ if D:/${TalendJob.log} is specified in the log4j.xml file. How to specify a dynamic value for the folder as well as the log file name in the xml file? For example, if there is a context parameter by name 'log_file' (say it contains a user specified path+file name like C:/mytalend/myproject/mylog.log). Note: I am able to use JVM argument and set the variable name. I would like to know if this is possible through a context variable.
(2)
Log4j2 configuration: Is it possible to configure TOS DI v5.5.1 for Log4j2 logging in JSON format?
Please help.
Thanks,
Sudha