Link to home
Start Free TrialLog in
Avatar of Steve Sperber
Steve SperberFlag for United States of America

asked on

How and where do I set and check the server logs

How and where do I set and check the server logs when hosting on Amazon Web Service.

what is best way to Check and verify  data
SOLUTION
Avatar of Sir Learnalot
Sir Learnalot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sir Learnalot
Sir Learnalot

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.loggingS3.title.html

Dunno if this one helps, like I said depends on what AWS you are using
ASKER CERTIFIED SOLUTION
Avatar of Shalom Carmel
Shalom Carmel
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Steve Sperber

ASKER

Thanks Shalomc & LearnALot,

2 issues:-
1) suppose I am user1 logged into AWS console what I need to do is to check the application logs on snapshot.logs from the browser instead of logging from Unix.


2) on the unix AWS server with same user id when I ran Cron Job I do not see  application logs statements that I am trying to print through the log4J. However, I see exception as "Failed to open PAM security session" in var/log/*.log

It does print logs when I run manually.
I guess this is separate issues I will post a fresh question. Thannks
this solution pointed me to right direction.