Hi,

After installing 5.0.10 maven overlay with no further config, I can see
logging happens on the same directory where target is deployed.

Changing config to point to another entry (say logs subdirectory), makes
logging generate 2 cas.log entries:

.cas-overlay-template
├── build
│   └── tomcat
├── build.cmd
├── build.sh
├── *cas_audit.log*
├── *cas.log*
├── etc
│   └── cas
├── LICENSE.txt
├── logs
│   ├── *cas_audit.log*
│   ├── *cas.log*
│   └── *perfStats.log*
├── maven
│   ├── maven-wrapper.jar
│   └── maven-wrapper.properties
├── mvnw
├── mvnw.bat
├── *perfStats.log*
├── pom.xml
├── README.md
└── target
    ├── cas
    ├── cas.war
    ├── maven-archiver
    └── war

Entries on root dir are empty.

Is this the expected behaviour or is there a misconfiguration?

 /etc/cas/config/cas.properties:

cas.server.name: https://cas.example.org:8443
cas.server.prefix: https://cas.example.org:8443/cas
cas.adminPagesSecurity.ip=127\.0\.0\.1
logging.config: file:/etc/cas/config/log4j2.xml

and log4js.xml relevant lines:

    <Properties>
        <Property name="cas.log.dir" >logs</Property>


cas startup:

 / / / ___|   / \   / ___| \ \
| | | |      / _ \  \___ \  | |
| | | |___  / ___ \  ___) | | |
| |  \____|/_/   \_\|____/  | |
 \_\                       /_/

CAS Version: 5.0.10
Apache Tomcat Version: Apache Tomcat/8.5.20
Build Date/Time: 2017-11-07T16:58:30Z
System Temp Directory: /tmp
Java Home: /usr/local/jdk1.8.0_152/jre
Java Vendor: Oracle Corporation
Java Version: 1.8.0_152
JCE Installed: no
OS Architecture: amd64
OS Name: Linux
OS Version: 4.10.0-38-generic

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMY5mie8JCFgFSxsdg8L5UjR-JKcFkOZxNK_LZoxwBLTU378wA%40mail.gmail.com.

Reply via email to