[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Why does servlet.log() write to start.log?
|
Sounds like a bug, so I raised:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=373605
Jan
On 8 March 2012 09:03, Jeff Palmer <info@xxxxxxxxxxxxxxxxx> wrote:
> Ever since 7.6 or 8.1, the two messages below do not get written to the
> 20xx_xx_xx.stderrout.log. They just go to start.log. If you restart the
> process all your logs are wiped out.
>
> Does anyone else get this? Have tried both 8.1.0 & 7.6.1. Was successful
> with 7.5.4. Have all on the same system & control which runs with symbolic
> link pointer. Find no differences in .xml files to cause this.
>
> Should I just over-ride the 2 log() methods, writing to System.out, adding a
> timestamp, and move on?
> - - - - - - - - - - -
> public class MyServlet extends HttpServlet{
>
> protected void doPost(HttpServletRequest request, HttpServletResponse
> response){
> try{
> super.log("I am a message");
> System.out.println("This does go the right place");
> }
> catch(Throwable th){
> super.log("I am an error", th);
> }
> }
> }
>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>