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?
TIA. regards,
PS: we are both french, but we talk to each other in english. isn't that
wonderful :-)
--
Jephté Clain
Direction des Systèmes d'Information
et des Usages Numériques - 2IG
Tél. 0262 93 86 31
Fax. 0262 93 81 06
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users