Comming to the point.I've got a major problem in log4j i.e to send a parameter to log4j so that it could generate random files( Using file appender ).
My problem is : -
I've got a user of id 47.He sends a file "Blah.xls".The file tracking Id for that ("Blah.xls") file is "EFG123".So, inorder to track the file status i need to log a log file using log4j ("I'm thinking like to create a new log file using file appender") like user-id_file-Tracking-ID.log.
Similarly for another user of id 48 I need to create a different log with his user-id and file-Tracking-ID("randomly generated - don't bother").
So,can i pass any parameter to log4j.xml and create logs dynamically instead of using java code.