Vikas Kumar Gupta wrote:Hi,
I am trying to use java.util.logging for writing logs.
My purpose is to write logs to different files based upon different package in my project.
eg I have two packages com.A and com.B
for logs from package com.A I want logs to be written to file D:/logsA/logsA.log and.
for logs from package com.B I want logs to be written to file D:/logsB/logsB.log
Currently I am using only one java.util.logging.FileHandler and that is writing all logs from application to one common log file.
my current configuration property file is like this
Waiting for response,
Regards,
Vikas Kumar Gupta
I dont see a question anywhere in your post. You mention what you are trying to do, but not what you are doing. Are there errors? Is something not working right? You have put effort into the question otherwise no one will answer.
Hunter