Make sure your startup script places you in the correct directory when starting the app. For example I had to set:
WorkingDirectory=/whatever/tomcat/logs https://www.freedesktop.org/software/systemd/man/systemd.exec.html when using systemd to start tomcat. The cas app has a log4j2.xml configuration file in: .../cas/WEB-INF/classes/ When the app starts up it configures log4j2 using that file first. On Tuesday, January 31, 2017 at 10:42:24 AM UTC-5, Jozef Kotlar - EEA.sk wrote: > > Are you sure, that you are editing the correct log4j2.xml? Do you have > defined location in logging.config property? > It seems to me, that CAS is loading the default log4j2.xml, e.g. without > paths and trying to create them in current directory. > > Dodo > -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c12c9d09-a1c0-4861-8259-d7f51e8d16da%40apereo.org.
