Equivalent of Event Log in Linux

Is there an equivalent to the Windows Event Log in Linux? When services crash or processes running in disconnected session explode, where's the problem logged to?

More specifically, if a Java JVM app dies, where does the JVM write to? On Windows, there's the WER system that collects crash telemetry (more info).

2 Answers

Maybe /var/log directory is what you need. There are many log files by default.

1

What do you mean "die"? If it e.g. segfaults, yuo might find something as discussed here in /var/log/syslog. Otherwise a crashed process might leave you with a core dump. I'm not sure if and where java itself performs "voluntary" logging if it is not java tha crashes but an app that java runs, but indeed tha java process would be the one responsible for logging java-specific info about problems with its daughter processes.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like