Ok ... so far your 2 appenders do exactly the same, since you have configured them this way. You have to assign the appender that shall write to the "app1Log.log"-file to your category "app1Log". If you turn the additivity of this appender off, then messages from there won't go to any other appender than its own. Do the same for app2Log, in the according way.
I'm not sure about the syntax for the simple config-file (I'm using XML). But I guess you need lines like those: log4j.category.app1Log = LogFile1 log4j.category.app1Log.Additivity = false log4j.appender.LogFile1 = org.apache.log4j.FileAppender log4j.appender.LogFile1.File = C:\\Temp\\TestLog1.log There should have been some examples with the right syntax with your Log4J. Or take a look at the short-manual or the documentation. Oh ... you must not have the 2 appenders "LogFile1" and "LogFile2" assigned to root, because the messages would be distributed to all categories that inherit from root again. I suggest you give the root-category only a console-appender or something like that - that is, if you want to log general messages at all. Nicole > Basically, I want to be able to do Category.getInstance("app1Log") which > will then write to the logger called app1Log and then > Category.getInstance("app2Log") which will write to the logger app2Log. ______________________________________________________________________________ Handeln wie die Profis, ganz ohne Risiko. Steigen Sie ein und erleben Sie Berg- und Talfahrt an den Börsen unter http://boersenspiel.web.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>