I've seen a couple of issues with Worklight 6.2 studio around logging.
- If you change the logging config, an extra line gets added to the server.xml at eclipse startup.
- The dev server doesn't seem to pay attention to the log size limit.
To repro #1
- 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:
<logging consoleLogLevel="INFO" copySystemStreams="false" maxFileSize="400"/>
- 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
<logging consoleLogLevel="AUDIT" copySystemStreams="false"/>
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.
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.
If there is any additional info I can provide to help track these down, please let me know.