Chris, Thanks for answering. It's not a big problem just a bit annoying.
I created a system service. Maybe I did not format it correctly. What si generally do is stop tomcat #systemctl stop tomcat And then blow out the /opt/apache-tomcat/logs files. Then restart it as #systemctl start tomcat. Sometimes it starts but there are not files in /opt/apache-tomcat/logs As soon as I see that I stop it and start it again. I delete the logs so I have less minutia to parse through. =========================== Thank You; Chris Cheltenham Technology Services The School District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571 -----Original Message----- From: Christopher Schultz <ch...@christopherschultz.net> Sent: Thursday, April 5, 2018 10:58 AM To: users@tomcat.apache.org Subject: Re: tomcat -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris, On 4/5/18 9:08 AM, Cheltenham, Chris wrote: > There is a behavior I see in tomcat at times which is puzzling to me. > > Sometimes when I start up tomcat it doesn’t log anything. To which files? Any of them? > Maybe I am restarting it too fast? Possibly. How are you restarting it? > I don’t have any other symptoms to report other than sometimes when a > start tomcat it does not log anything. > > Does anyone know why that happens? My guess is that your restart process somehow rotates the file(s) you are expecting out of the way (or deletes them) but the new process has already started logging to them, so it looks like nothing is happening. On *NIX systems, processes will happily continue to write to deleted files and the data basically never makes it to the disk. (Actually, it does make it to the disk, but no other process can reasonably read that data). Another possibility is that Tomcat is basically not starting, due to e.g. a port conflict. When this happens, Tomcat logs a small amount and shuts down. But in that case, you'd be saying "Tomcat does not start up again" so that's probably not the case, here. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlrGOXQACgkQHPApP6U8 pFh7lQ/5AYCBtjfuj4qUpblWv6HqkrseMBpF9Anc2dP8wm7Q2A2Wp7WT/SMciyw+ 1V+YEQRHDwPlPpjFVfXa2zxvYcSz8uqTK8okvwwXd8nApS59T9TAG2vtwbZtt5lH HOrU/qin1JCm3L03OB5iumMVYJit5Fr/NKEULHQewk/FVV+8zCDeRFXw0DXg2I64 Tq9CvNpAaGSqWZ8FAxMe57unX3XayTiMtTf3muYCZqFk0kDCoXhrvDVMm2F2Kf/p k2GR/sbgiHVDdvqUZcMveoTyWlXhiqnYBQziLtMhglsqOkGcG4ijNNW+dFvNhCbK g9LU8ptxug/We3xJqmfq6jJlGThl9/KAQfFb3kwi5OPnrEsMPCCbv8Kg5XtaCgPW pr1JniRIoZpSeO0DNa2T3vXzZ4IlJ1Xeh4+gPfIBUoDOGwoxQrhyAjG1KYLPyc9G QnBN7z9PglRSJ88g3F1dJShAj/unN6x5WjzAPuer7BRjX4/CiXn+2I1HwbP6E2q3 fSlIFugUCm2fQ5LvolhRCcMVr98fhCIqISBC77fA7vbLr9djVgLVqpXL1aCJg4Zj R7l8wngDRIdBXFghjWFiAIbZtx1IifKUfFOYkWpM4Y2nfa3rPBkjF6bF+18tapyY 6GFEoyvPGC50yt2YhwqyLPTpLl8bYI8KZQevDvKlFbCuAPKnHOw= =yE/b -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org