This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have a need of archiving the log in zip or gz format.
when i run the application, i get an lo4j :WARN Element type "rollingpolicy" must be declared
and it does not create a zipped file.
i have created a log4j configuration file in a xml format.
Where do i have to declare this ??
Kumar Raja wrote:This request should ideally posted in another forum. I guess, the moderators would move it to an appropriate forum.
But what is your configuration so far.
my apologies for not posting in appropriate forum, Since i my code is servlet based i posted in servlet subform.
here is the configuration file i am testing.
i get a warning saying rollingpolicy must be declared and the old log does not get zipped .
i have searched through google and have not found any solution yet. although i did find an example mentioning that it should declared in the POM.xml file for Maven projects,
my project does not contain this POM.xml file. how do i solve this?? Please help