Avatar of gudii9
gudii9
Flag for United States of America

asked on 

checking production logs

how to check production logs

i logged to production server i went to server log path.
i did
ls -ltr

i see bunch of log files at different timestamps

lets say xyz.log is at 1:30 am which i am interested to see.

how to open and hjow to see it?

when i logged using winscp says log in denied to copy over to windows laptoip to check.
like i want to zgprep or grep all "NullPointerErrors" between 12:30 AM till 2:30AM how do i check?
Also how to check how many times it was restarted?
any good best practices on production logs?
please advise any god links, resources on it?
Linux SecurityWindows OSLinux NetworkingLinux OS DevLinux Distributions

Avatar of undefined
Last Comment
Dmitri Farafontov

8/22/2022 - Mon