SyntaxFix
Write A Post
Hire A Developer
Questions
Try doing something like the following in main:
public static void main(String[] args) { PropertyConfigurator.configure(args[0]); //... your code
you need to tell log4j what its configuration should be.