title: Worklight 6.2 - Issues with logging
body: <p>I've seen a couple of issues with Worklight 6.2 studio around logging. </p>
  
  <ol>
  <li>If you change the logging config, an extra  line gets added to the server.xml at eclipse startup. </li>
  <li>The dev server doesn't seem to pay attention to the log size limit. </li>
  </ol>
  
  <p>To repro #1 </p>
  
  <ul>
  <li>Change your logging configuration.  We set our log level to INFO and upped the size to 400.  This results in the following line in the server.xml file: </li>
  </ul>
  
  <p><code>&lt;logging consoleLogLevel="INFO" copySystemStreams="false" maxFileSize="400"/&gt;</code> </p>
  
  <ul>
  <li>Shut down and restart eclipse.  As part of the startup process, it adds a 2nd logging line to the end of the server.xml file </li>
  </ul>
  
  <p><code>&lt;logging consoleLogLevel="AUDIT" copySystemStreams="false"/&gt;</code></p>
  
  <p>Since this line comes later in the file, it takes precedence over the first line for the server.  For the GUI, it displays the contents of the first line. </p>
  
  <p>For #2, it straight up looks like if you change the maxFileSize option on the logging line, the server just doesn't pay attention to it, and still wraps at the default (20, I believe).  I've made sure there aren't 2 logging lines in the server.xml, restarted the server, etc. </p>
  
  <p>If there is any additional info I can provide to help track these down, please let me know.</p>