-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Stephen,
On 2/25/15 3:23 PM, Owens, Stephen (ITD) wrote: > For tomcat 8 using log4j and apache commons logging, what would be > the correct values to specify in setenv.sh for: > > LOGGING_MANAGER LOGGING_CONFIG > > For a tomcat-7.0.26 installation, the values in setenv.sh were: > export LOGGING_CONFIG="-Dlog4j.configuration=log4j.properties" > export > LOGGING_MANAGER="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger" > > Are those the correct values for Tomcat 8 as well? http://tomcat.apache.org/tomcat-8.0-doc/logging.html#Using_Log4j ? I don't see LOGGING_MANAGER or LOGGING_CONFIG mentioned in the Logging section of the users' guide at all. If you are using the replacement tomcat-juli.jar from the "extras" download (as directed in the aforementioned guide), the replacement log manager will auto-detect Log4j. There should be no need to set those environment variables, even in Tomcat 7. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJU7yHdAAoJEBzwKT+lPKRYKHYP/iGnndjybypFQTEonSErt96l gzVn9jKfNZe+LlNWhr3Yko3N7CmVvh5zaJs5ZDKlAsaCRDjXrWXhu9hi6uADBLau Yd002WY3WO0d5QGr+sUETnIFwd7a/rQ3d1opTIbnMRQRTcZfhqf77pO3GXThPK6A z47knlV+MQQq5fG0F6Qb9Bn6uDGgGBrdL6BpZIBoSAttAUE3+KwufRatWKW8TqtE M0XcHUPReSq7Wal4p5ZZcvuWehfE4NAr/e6/SyqZM2C+NcNI3+/tCO+8YFhkpjlC 4yRuM8oenP3z3cKYGqJYgjZ+ZwPmYh1Jcgep3YShSRekuCUvrKjhLM6ufVy9W9Rk Ot1MwG2ezwICiZtHb16yMZLtpol/CnmS56Ev6cXeNIkSNIfe741MmlzTKVbH2PrG jhuTzdERP4ECoNBK5aDcamF9zK2YR2oiJbeIdEIPrkUyp9LopBgO6BLdqEkX2K+R yUlF5sO36D8HtmyHhJS9ZyG4A1C4ZJ3dxfJuA1bKwI5KkKd96izGvxHdwvs7iUVW XF3MABxTIeJbQ+0v/klx00+uhAd3PshJ14QCzaU08dkBZ9SKjrhnj+cDLnD7K1rI eqWca5gkxWAIAEzpiYPuGapPsC8MJqbNW1RUNerVn05SnFxQ5EEY7y/PLJd6LYuS GMw8U04AdqxCvHYRWqud =5fsL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org