-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 George,
On 8/14/2009 2:42 PM, George Sexton wrote: >> Sure it will. Check the "copytruncate" option. > > That's an interesting option. It seems fraught with danger, but I > tested it and it does work. Yes, it is fraught with danger. But, if you want to use stdout/stderr and refuse to take other steps, it's basically what you're left with. >> What part of that doesn't work? > > The part about new data appearing. On one of my production servers, I > erased catalina.out. Note that truncation and deletion are not the same. > I then invoked a JSP that generated output to > system.out. The file catalina.out did not magically appear. Of course not: you're writing to a valid file handle whose directory entry has been unlinked. Why would the file magically reappear? > No data > was magically written to the file. I went into proc for the PID for > JSVC, and looked at the File Descriptors. Sure enough, if I look in > the FD directory, FD 1 shows deleted. If I examine the contents of > the file descriptor, the test data is appended to the end of the > file. Sounds right to me. > It doesn't work. What you tried doesn't work. I didn't suggest what you tried. > I make these statements because I know what I > observe. I've also been using Linux since something like 1997 so I've > got a fair amount of experience there too. So, your straw man has a big swingin' tool, too? > Perhaps we observe different results because I'm using JSVC. No, we observe different results because we're doing different things. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqSqzwACgkQ9CaO5/Lv0PB7YQCfXhUbusH1dEzxDFZmkR25jL4b ceQAn1OEw4YX7YPCEbxaXuEWdZiEsZL/ =p3xw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org