0

This is a fairly difficult question for me to word, but I'll try my best.

When I launch an application from the terminal, say, Banshee as an example (so banshee to launch from terminal), I can see all the logging of the application. But when I launch it from my GUI menu, I obviously don't see the same logging, as it doesn't launch it through a terminal emulator. Generally, the application redirects the logging to some log file. I have two questions about this:

  1. Does the application send all its logging to stdout first, which is then tee'd to the log file?
  2. Is there a way to access this stdout "buffer"? (I am not sure if buffer is the right word, but it seems correct to me right now).

If this question isn't clear, please post in comments and I will do my best to fix it.

EDIT

I run Linux Mint 17.2 Cinnamon, if that makes a difference.

4
  • Apps log to journal nowadays (in linux that is). So journalctl is your friend. Commented Mar 29, 2016 at 21:29
  • What desktop environment or window manager are you using, on what distribution? The general principle is the same but the specifics vary. Commented Mar 29, 2016 at 22:48
  • @don_crissti What systems redirect the output of GUI programs to the systemd journal? Commented Mar 29, 2016 at 22:49
  • @Gilles I edited my question to include it.
    – Rohan
    Commented Mar 30, 2016 at 4:12

1 Answer 1

1

I'm running Linux Mint 17.3 Rosa, and the answers here worked for me. I ran:

cat ~/.xsession-errors | head --lines=-10

to view the last 10 lines of a Java stacktrace generated by double clicking a runnable-jar.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .