Issue #467 has been updated by Clément OUDOT.

Sébastien Bahloul wrote:
> Guys,
> 
> I agree with the patch, with the need but not with the functional 
> specification: writing a log message after every getNextId() method call is 
> quite annoying. 
> 
> What do you think about adding a JMX call to get it asynchronously and to 
> record such message at the end of the asynchronous task ?

The problem is: when end an async task? We need to monitor it when it is 
running. And I would like to avoid a JMX call to get the statistics, because 
the goal is to monitor it trought simple shell scripts.

I agree to have a discussion on how we can use JMX to have a fine monitoring, 
but as a first step, my wish was to have a status that is the same between sync 
/ async / clean tasks.

----------------------------------------
Feature #467: Display synchronization statistics in logs for async task
http://tools.lsc-project.org/issues/467

Author: Clément OUDOT
Status: Feedback
Priority: Normal
Assigned to: Clément OUDOT
Category: Core
Target version: 2.0


For sync task and delete task, we have such statistics message in logs:
<pre>
mai 15 10:51:31 - INFO  - All entries: 20, to modify entries: 17, successfully 
modified entries: 17, errors: 0
</pre>

I would like to have it also in async taks, either at each event, either at 
each loop (getNextId)

Then, I would try to configure logback.xml to gather these messages in a status 
log.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to