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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

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