tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Fischer ...@bb-sw.de>
Subject Logfile root-directory-setting
Date Tue, 02 Jan 2001 13:57:29 GMT
Hello,

I have created my own log file via setting the System.setErr with a new
FileOutputStream.

    FileOutputStream fout = new FileOutputStream("mylog.txt", true);
    System.setErr(new PrintStream(fout));

Giving it only the file-name, the log-file will be created in the
tmocat/bin directory.
Is there any configuration file where I can preset this to the
tmocat/logs-directory?
(it works with "../logs/mylog.txt" but thats not what I want)

Thanks
Chris


Mime
View raw message