I have my log4j.xml as follows...
In the above figure, in highlighted part , i am giving the path statically. But, i want to give context path there...How can i read the context path there ...please give me the solution
Thanks in advance,
You can try using tInitLog4J custom component. With this component you can specify your custom log4j configuration file.
The component source code is available under: https://github.com/bcourtine/Composants-Talend-Open-Studio/tree/master/Logging
And the component is available under: tInitLog4J
I did not find any difference by using tInitLog4J and without using tInitLog4J , and I think this is not suitable solution for my question..