RE: [cas-user] Duplicate log entries

2015-11-18 Thread nicolas

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


Re: [cas-user] Duplicate log entries

2015-11-17 Thread Jonas Steinberg
Nicolas:

I'm also using CAS 4.1.1 w/ Hazelcast and I've been able to get everything
up including the Hazelcast ticket registries, except I've been unable so
far to get them replicating tickets to cluster nodes.  I was wondering if
you would be willing to share your deployerConfigContext.xml file with me
because I'm certain it is not my cas.properties file yet I think the
deployerConfigContext.xml file is where I am going wrong?  I have attached
mine in good faith.  If you are willing to do so feel free to redact any
server names or proprietary information, although I suspect that there
shouldn't even be any in there.  Thanks!

Here's my deployerConfigContext.xml: http://pastebin.com/3rXsK3PM

Sincerely,

Jonas Steinberg

On Nov 17, 2015 5:33 AM,  wrote:

> 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:
>
>  append="true"
>  filePattern="cas-%d{-MM-dd-HH}-%i.log">
> 
> 
> 
> 
> 
> 
> 
>
> 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:
> jonassteinbe...@gmail.com
> 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


[cas-user] Duplicate log entries

2015-11-17 Thread nicolas

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:

append="true"

 filePattern="cas-%d{-MM-dd-HH}-%i.log">








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: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


RE: [cas-user] Duplicate log entries

2015-11-17 Thread Misagh Moayyed
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:
> 
>   append="true"
>   filePattern="cas-%d{-MM-dd-HH}-%i.log">
>  
>  
>  
>  
>  
>  
>  
> 
> 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