Logger

 For anyone looking for how to do it, this is working for me as part of a User Import job attribute mapping script (i.e. #CONST#${ ... } )

Object log = java.util.logging.Logger.getLogger('any_name_does_not_matter');
log.info('some_message');
 
The log entry will look something like this:
"2023-08-18T18:45:19.862+00:00","ecm-worker","","","","18-Aug-2023 18:45:18.924 INFO [quartzScheduler_Worker-15] java_util_logging_Logger$info$0.call some_message"
 
Hopes this help anyone needing it for troubleshooting.  It is unfortunate the logger name does not appear in the log.

Comments

Popular posts from this blog

Enhanced Query - To Update Account Status and Name

Connection Config - STATUS_THRESHOLD_CONFIG

Email variables _ Register User