title: Ubuntu java error logging
body: <p>Is there a way on Ubuntu to enable global java exception logging? In my case I have php-fpm executing java jar with php function <code>exec()</code>, but I don't get any exceptions logged from Java anywhere.</p>
  
  <p>I'm on Ubuntu 13.10 (Saucy Salamander) and my Java version is </p>
  
  <pre><code>Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
  Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
  </code></pre>