Change the value of cas.log.dir in etc/cas/config/log4j2.xml (around line 9):
<Property name="cas.log.dir" >/var/log/cas</Property> or add a "-Dcas.log.dir=/var/log/cas" parameter to your command line. (Replace /var/log/cas with whatever you want, of course.) --Dave -- DAVID A. CURRY, CISSP *DIRECTOR OF INFORMATION SECURITY* INFORMATION TECHNOLOGY 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 +1 212 229-5300 x4728 • [email protected] [image: The New School] On Fri, Nov 10, 2017 at 12:22 PM, Adam Causey <[email protected]> wrote: > How can I specify the location of the logging directory in CAS 5.1.x? > Currently all of my logs are sent to a directory created on CAS startup > named ${sys:catalina.base}, but I'd like to to go into a logs subdirectory. > > Thanks, > Adam > > -- > - 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/CAN6MV5NshDYjMUBq2c6gKoNpjy2op > SeGG3iP%2BSniw6s9qgmLCA%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5NshDYjMUBq2c6gKoNpjy2opSeGG3iP%2BSniw6s9qgmLCA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- - 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/CA%2Bd9XAMvuy3JGDTf6TT8w9Ju_gPEcy669kJuWRfhNCs7RPKbqA%40mail.gmail.com.
