cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Getting time a subscription gets fired

Tomellache2B
14-Alexandrite

Getting time a subscription gets fired

Hello, community,

 

I would like to capture the time a subscription gets fired. Is there a way to this

 

Regards.

TB

1 ACCEPTED SOLUTION

Accepted Solutions

User any of logger statements... that will logged in Script Log.

logger.info("info message: " + new Date());
logger.warn("warn message: " + new Date());
logger.error("error message: " + new Date());

 

Or you can create a stream and call stream entry service in subscription.

View solution in original post

1 REPLY 1

User any of logger statements... that will logged in Script Log.

logger.info("info message: " + new Date());
logger.warn("warn message: " + new Date());
logger.error("error message: " + new Date());

 

Or you can create a stream and call stream entry service in subscription.

Top Tags