setting log4j file path

J

Jeff

Is there some mechanism in log4j to have it guess the file path separator or
force it depending on the OS?

My app runs on Windows or Unix. For application files, I use Java's file
separator specification to swap between \usr\local\myApp and
C:/Programs/myApp . Is there a similar mechanism in log4j? Should I just
create log4j configurations for each OS?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,129
Latest member
FastBurnketo
Top