Indeed, that fixed it. Thanks.
El 2015-11-17 17:15, Misagh Moayyed escribió:
Your logger is likely configured to be additive. Turn that bit off.
https://logging.apache.org/log4j/2.x/manual/configuration.html#Additivity
-Original Message-
From: nico...@devels.es [mailto:nico...@devels.es]
Sent: Tuesday, November 17, 2015 5:33 AM
To: cas-user@lists.jasig.org
Subject: [cas-user] Duplicate log entries
Hi,
We're running CAS 4.1.1 and although everything works fine, any event
is
being logged twice in the log file, so for each event we're seeing
things
like:
2015-11-17 12:27:09,180 INFO
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] -
Audit
trail record BEGIN
=
WHO: login
WHAT: ST-83780-Idib7qgXaVCJ2yA2fgQ7-fqdn for
https://fqdn/login.php
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Nov 17 12:27:09 WET 2015
CLIENT IP ADDRESS: 10.X.Y.246
SERVER IP ADDRESS: 127.0.0.1
=
2015-11-17 12:27:09,180 INFO
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] -
Audit
trail record BEGIN
=
WHO: login
WHAT: ST-83780-Idib7qgXaVCJ2yA2fgQ7-fqdn for
https://fqdn/login.php
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Nov 17 12:27:09 WET 2015
CLIENT IP ADDRESS: 10.X.Y.246
SERVER IP ADDRESS: 127.0.0.1
=
Our configuration for classes/log4j2.xml is:
We're using Hazelcast for ticket replication, however, I don't think
if
it
matters, since both lines are logged on the same machine and the other
node doesn't log anything.
Any hint?
Thanks
--
You are currently subscribed to cas-user@lists.jasig.org as:
mmoay...@unicon.net To unsubscribe, change settings or access
archives,
see http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to cas-user@lists.jasig.org as:
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user