Yes, it is writing the same thing to the cas.log in the tomcat logs directory. But it does write rolling log files on start up to the webapps directory. Which I don’t understand why.
My logging config: logging.config: file:/etc/cas/config/log4j2.xml <RollingFile name="file" fileName="/data/tomcat/logs/cas.log" append="true" filePattern="cas-%d{yyyy-MM-dd-HH}-%i.log"> <PatternLayout pattern="%d %p [%c] - <%m>%n"/> <Policies> <OnStartupTriggeringPolicy /> <SizeBasedTriggeringPolicy size="100 MB"/> <TimeBasedTriggeringPolicy /> </Policies> </RollingFile> To note: If the cas.war is deployed to tomcat, and I restart tomcat, tomcat never fully comes up because it is in some sort of hung state. When I shut down tomcat, it errors off saying there is no connection on 8080. If I deploy the war file onto a clean tomcat, it just sits there and writes nothing to the log files. I’ve left it running for 20-30 minutes before I will shut it down and start over. I say about every 4 times I restart/deploy the cas.war it will fully come up and I am able to test it. This is just a best guess average. From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Misagh Moayyed Sent: Thursday, March 09, 2017 1:25 PM To: cas-user@apereo.org Subject: Re: [cas-user] CAS Deployment Stalls When Deploying to Tomcat The following is what is written to my log file—After the profile log, there is nothing else written to catalina.out. What are some recommendations I need to look at? I doubt this has anything to do with Tomcat. You provided a log4j config file to CAS, correct? Is writing to the right place? Does it have permission to do so? -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c1ac19.30cd6afd.c1e%40unicon.net<https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c1ac19.30cd6afd.c1e%40unicon.net?utm_medium=email&utm_source=footer>. -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/3a5ffc2d970247b291199683336f4975%40mail04.ad.msstate.edu.