2015-02-26 12:57 GMT+01:00 Jephte Clain <[email protected]>:
> Le 26/02/2015 12:49, Clément OUDOT a écrit :
>
>> 2015-02-25 20:58 GMT+01:00 Jephte Clain <[email protected]>:
>>>
>>> hello,
>>>
>>> I wonder: is there an "official" way to log/trace events in a lsc script?
>>> I've seen calls to java.lang.System.out.println() in contributed
>>> scripts, but is it the right(tm) way to do it?
>>>
>>
>>
>> Hi,
>>
>> you can first activate a DEBUG level in logback.xml.
>>
>> See also the Rhino debugger:
>> http://lsc-project.org/wiki/documentation/latest/scripting/start#debugger
>>
>>
>> Clément.
>>
>
> hello,
>
> thanks for the tip. but the DEBUG log is not as complete as I expected...
>
> now if I want to log a message, what should I use? is
> java.lang.System.out.println() sufficient, or is there another dedicated
> function?
>

There is no dedicated function, we also java.lang.System.out.println()
to print specific messages in logs



> TIA. regards,
>
> PS: we are both french, but we talk to each other in english. isn't that
> wonderful :-)


Yes, but it's better to share in engglish so everyone can help.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

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

Reply via email to