How to simply use log4j.xml in another class

24 views
Skip to first unread message

sreedeviv...@gmail.com

unread,
Jul 7, 2018, 2:24:40 AM7/7/18
to Selenium Users
I have create log 4j xml file inside package outside src like attached (log xml)
i have created log class(log)
then i have created  another class  with main method where i am using log.info(log13)
My issue is log not getting created,however no error is shown
Please help.
Please find attached document.


log4j.xml
Log.java
log13.java

Krishnan Mahadevan

unread,
Jul 7, 2018, 2:27:03 AM7/7/18
to seleniu...@googlegroups.com

You might want to post this query on a log4j relevant forum (stackoverflow perhaps?)

Please help keep this forum relevant by posting queries that are ONLY related to Selenium/WebDriver.

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5facb845-cf73-4ad9-a9f2-2138c6737fff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages