Le 13/09/2019 à 14:34, Soisik Froger a écrit : > On 13/09/2019 12:19, Gallavardin Antoine wrote: >> Hello >> >> I'm running several instance of LSC with several task >> >> Each instance of LSC have there own log file trough the logback file : no >> trouble with this ! >> >> But I'd like to add the name of the task inside the lsc.status file >> >> like : >> >> sept. 12 12:10:50 - INFO - All entries: 197, to modify entries: 0, >> successfully modified entries: 0, errors: 0 - task : sync A-firstTask >> sept. 12 12:10:50 - INFO - All entries: 197, to modify entries: 1, >> successfully modified entries: 1, errors: 0 - task : clean A-firstTask >> sept. 12 12:10:50 - INFO - All entries: 150, to modify entries: 4, >> successfully modified entries: 3, errors: 1 - task : sync B-secondTask >> >> Each number of entries are cumulated but I want to make difference between >> task and clean and sync. >> >> If it's possibel I could adapt the check_lsc_status_file.pl >> > Hi Antoine, > > Adding taskName and phase is not possible without changing the code > (org.lsc.AbstractSynchronize). > > Could you open an issue in https://github.com/lsc-project/lsc/issues ? We may > be able to ship this change and adapt check_lsc_status_file.pl in the next > minor version. > > Let us know what you have in mind for check_lsc_status_file.pl. Like adding > some optional parameters to target the check on specific task/phase. Did you > have something else in mind ?
I think we already have a PR for this: https://github.com/lsc-project/lsc/pull/53 Would it solve your issue? -- Clément Oudot | Identity Solutions Manager [email protected] +33 6 99 66 51 31 71 rue Francis Pressenssé - 69100 Villeurbanne Worteks | https://www.worteks.com _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

