--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e081da1e-45f1-4bd2-b59d-2a568d251f9d%40apereo.org.
Hi Travis,
Thank you for that information. I thought I was overriding the log4j.xml files by putting them in etc/cas/config for each overlay but I just noticed I’m not. The reason the cas log4j works for me without permission error is because it sets baseDir to /etc/cas/logs. (https://github.com/apereo/cas/blob/master/webapp/resources/log4j2.xml)
The cas-management doesn’t set base-dir https://github.com/apereo/cas-management/blob/master/webapp-mgmt/cas-management-webapp/src/main/resources/log4j2.xml
Sorry I think this is a basic question, but with the overlay how do I override specific files in the targets maven builds? I tried creating the path and file in my build.sh directory but that didn’t work.
Thank you,
Jeremiah
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAC_RtEbgi4E%3DXipCsUHy%2BFDH5kB--ECEJKdEQUn1FLvCXh9wSw%40mail.gmail.com.
Hello,
I did find a solution. My previous experience with 3.5.2 taught me about over-riding the source files using the overlay, I just hadn’t seen how to do it with this version until I found: https://apereo.github.io/2017/03/28/cas5-gettingstarted-overlay/
For me it was:
cd cas-management-overlay
mkdir -p src/main/webapp/WEB-INF/classes
cp etc/cas/config/log4j2-management.xml src/main/webapp/WEB-INF/classes /log4j2.xml
My log4j2-management.xml already had the changes I wanted.
Hope this helps,
Jeremiah
From: cas-...@apereo.org [mailto:cas-...@apereo.org]
On Behalf Of Janina Byky
Sent: Wednesday, February 14, 2018 7:09 AM
To: CAS Community <cas-...@apereo.org>
Subject: Re: [cas-user] cas-management 5.x cas-management.log java.io.IOException: Permission denied
Hi Jeremiah,
I'm also struggling with this issue. Did you developed any working solution ?
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/f0273243-9ed5-408b-8ee3-4fb610e81307%40apereo.org.