cancel
Showing results for 
Search instead for 
Did you mean: 

How can I stop logging during Authentication

andreas_
Champ in-the-making
Champ in-the-making

Hello,

on my nuxeo platform I get a log-entry into my postgres database for every log-in event.

Here is header and one entry into this table:

log_id | log_event_category | log_event_comment | lo g_doc_life_cycle | log_doc_path | log_doc_type | log_doc_uuid | log_event_date | log_event_id | log_principal_name | log_repo_id

80992 | NuxeoAuthentication | Administrator successfully logged in using BASIC_AUTHAuthentication |
/> | | | | 2012-06-05 14:28:51.153 | loginSuccess | Administrator |

The Postgres table name is nxp_logs, the schema is nuxeo.

This logging makes that table grow quickly as I have many log-ins, one for every search on my cms. Can you tell me, how to stop logging this event.

Thx for answers.

Andreas

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

You should contribute to the extension point event something that disables the event you want. For instance:

<extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
  <event name="loginSuccess" enabled="false"/>
</extension>

View answer in original post

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

You should contribute to the extension point event something that disables the event you want. For instance:

<extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
  <event name="loginSuccess" enabled="false"/>
</extension>

Thanks for your answer

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.