> -Original Message-
> From: Curt Arnold [mailto:curt.ar...@gmail.com] On Behalf Of Curt
Arnold
> Sent: Monday, March 29, 2010 9:28 PM
>
> logFolder.substring(1, ...) would drop the first character of the
string.
> If you use a relative path (like you'd get if you drop the leading
slash),
On Mar 29, 2010, at 2:05 PM, Deric Page wrote:
>if (fileAppender != null) {
>String logFolder =
> ((RollingFileAppender)fileAppender).getFile();
>logFolder = logFolder.substring(1,
> logFolder.lastIndexOf(File.pathSeparator));
>logName = logFolder + File
I have several applications running on a jboss server. I want to use
separate log files for each application and have them placed in the same
folder as the jboss server.log file. Currently the server.log file is
placed here:
/usr/src/jboss/server/my_server/log/
However, when I use the below code,