Hi good morning i wanted to know if someone can help me my cas is not
creating cas.log on the WEB-INF/classes

so my configuration on log4j2.xml is this

- <#> <RollingFile name="*file*" fileName="*log/cas.log*" append="*true*"
filePattern="*cas-%d{yyyy-MM-dd-HH}-%i.log*">
  <PatternLayout pattern="*%d %p [%c] - %m%n*" />
- <#> <Policies>
  <OnStartupTriggeringPolicy />
  <SizeBasedTriggeringPolicy size="*10 MB*" />
  <TimeBasedTriggeringPolicy />
  </Policies>
  </RollingFile>

and my cas properties i have this properties configuration
log4j.config.location=file:/opt/glassfish4/applicationFiles/cas/log4j2.xml
logging.config=file:/opt/glassfish4/applicationFiles/cas/log4j2.xml

but when i go to the path
WEB-INF/classes i have another log4j2.xml and the cas.log is not anywhere
how can i configure to generate the log file to the same path for the
log4j2.xml

like this

/opt/glassfish4/applicationFiles/cas/cas.log

thanks

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdpXANFb1gBP9g1Z68JM2qGeZtoBp%3DKtdAczVNUjjvo%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to