Probably you can redirect them explicitly:
OutputStream out = new FileOutputStream("my.log")
System.setOut(out);
System.setErr(out);
But that will override the System.out and System.err for all classes loaded
by this.getClass().getClassLoader() classloader... probably you should use
the Log4j stuff (I didn't try it yet, but I've read it's in the JBoss
distribution)...
> -----Original Message-----
> From: Bojan Smojver [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 4. Mai 2001 15:24
> To: JBoss User
> Subject: [JBoss-user] Logging
>
>
> A really simple and probably a really stupid question too: how do you
> make the System.out and System.err be redirected to server.log or any
> other file? All the System.out.println calls from within EJB's go
> nowhere for me...
>
> Config:
> - RH Linux 7
> - Sun JDK 1.3.0_02
> - JBoss 2.2.1
>
> Thanks,
> Bojan
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user