Expand my Community achievements bar.

SOLVED

Logs for WebApps - Not showing consistently

Avatar

Level 5

Hello All,

 

I am on ACC v8 managed.

I have created a WebApp, and try to log information in the WebApp Script Activity, using logInfo or logDebugMessage, 

 

On Navigating to Home -> Monitoring -> Process List -> web@default, and putting the proper date parameters, I still don't see my logs printed there.consistently. Only on few occassions, I am able to see the log messages, but there is no pattern of it being visible there.

 

This happens both with logDebugMessage, and logInfo.

 

What would be a better method to log server side values for a WebApp, so that the issues can be debugged consistently ?

 

Regards,

DG

 

 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

No, the logs are physical files in disk. you can access them on your browser however.

 

Right click on the monitor page link for web log and paste it on your browser, you will need to login just like a webapp, then change the URL structure to point to the 2nd box.

 

David__Garcia_0-1677665769123.png

 

https://myinstance-mkt-stage3-2.campaign.adobe.com/view/displayLogs?vars_proc=web%40default&__univer...

 

View solution in original post

3 Replies

Avatar

Community Advisor

I've had the same issue, try logging in to a specific box, your instance by default consists of two servers, and the logs do not seem to sync between them.

 

I.e. for staging environments

https://myinstance-mkt-stage3.campaign.adobe.com your instance (could be load balance between box 1/2)

 

To login to a specific box, use the following url structure on your client

https://myinstance-mkt-stage3-1.campaign.adobe.com

https://myinstance-mkt-stage3-2.campaign.adobe.com

 

For production environments

https://myinstance-mkt-prod1-1.campaign.adobe.com/

https://myinstance-mkt-prod1-2.campaign.adobe.com/

 

Avatar

Level 5

Thanks @david--garcia,

 

Is there a way I can get the values from both server logs combined.

Maybe if I can create a quick webApp, that would display the combined result ?

 

Is there any API that queries the log file ?

 

Regards,

DG 

Avatar

Correct answer by
Community Advisor

No, the logs are physical files in disk. you can access them on your browser however.

 

Right click on the monitor page link for web log and paste it on your browser, you will need to login just like a webapp, then change the URL structure to point to the 2nd box.

 

David__Garcia_0-1677665769123.png

 

https://myinstance-mkt-stage3-2.campaign.adobe.com/view/displayLogs?vars_proc=web%40default&__univer...