-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dan,

On 3/18/14, 10:40 AM, Daniel Mikusa wrote:
> On Mar 18, 2014, at 10:13 AM, Randeep <randeep...@gmail.com>
> wrote:
> 
>> Hi,
>> 
>> I have servers in Amazon Web Services Platform.
>> 
>> My servers are Centos 5.4
>> 
>> I have httpd-2.2+mod_jk+tomcat-6.0.37 stack on them
>> 
>> I'm using elastic load balancer with autoscaling, so, many
>> instances can spawn and terminate anytime. But once the instance
>> is terminated tomcat logs of that instance is no more available.
>> 
>> I was trying to forward httpd
> 
> ErrorLog supports sending logs to syslog.
> 
> http://httpd.apache.org/docs/2.2/mod/core.html#errorlog

+1

Syslog is pretty much the answer to the whole question.

> I’m not sure about CustomLog.  That might take a little more work.
> Are you trying to send access logs as well?
> 
>> and Apache tomcat logs
> 
> First thing that comes to mind here is using Log4j and it’s syslog
> appender.

+1

I believe there is a syslog plug-in for JULI as well. Not supported
here but I believe it works.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTKJ8vAAoJEBzwKT+lPKRY088QAKwvUu4Tm3Mbf+VDMScpHdDe
gvJBRmpNgBxEYUh3FC5TUyngrQGiKy24jxeMSvBbcsipZQRPb56n1/G1SoFVewYm
+ty6XPngdTLtU8SylLTlB0rKOB/VaZGccmXgiY6wAwRjJwoEMBT/OYXaAfJdCRNV
Jnrr2SaDidLxMpdiIC2Wh5lDdPeOtMAadLB3Q7dUGM0SY63a3MXKfHxx+f8VDy/t
57VzGc125U4f9HGyA7JFHcb1cxi6OJjJ8SwwkGtwpGKlPmk8Ut6qcn5zR5D73M+5
R6YHPcMN804n7M/8mgbVYCKVmkLnmT/eE5wPfxX9ucJDRSZ1CHLBWr828/2BkA/e
JhEsh85tNqOkWbZ8G7VglA3NhHoIPiy2/Isr9Ig+kPR8HxoenQ9yrRxsEs38Y02P
DVP53wx0QxuTYpraFkvPROl1riY2U18tglPZBRjaAg84lKq9RsiIhLPLKY9DM/PS
GeDfa/MZZUJZLv1iBsO6COIiHdfwZ11S0aXGVB0BsH9vbUR4i1Se9CYxXCq8ph6G
Ki5CU1HJ3NaF4gQU8eIP3U+BZRe4gxQkfFQISTQ5++w9qIQZ/yW9LGbwFdRaZ9tG
/EyF8cLM6RD/uqLk6Dp3MZN8iyB+LZ3MRwode5ndZd8M41SIwcTuGXDw6cA0hwO0
ZajYkHWhEcjx+bIYrUfx
=KVxw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to