• 1 reply
  • Latest Post - ‏2013-08-28T21:28:16Z by AlexMulholland
15 Posts

Pinned topic log file confusions.

‏2013-08-28T20:43:37Z |

Hi, for liberty, we can have three log files (console.log, message.log.trace.log). What are the differences among them? In some link, I found we can have all information from console.log to message.log) it true?

Can we rename console.log file as like message.log and trace.log file ?


  • AlexMulholland
    32 Posts

    Re: log file confusions.



    messages.log contains all the (translated) messages issued by the runtime (error, warning, info, audit levels)

    trace.log contains those messages and also contains any trace-level output (debug levels) so will only be written to if you enable debug trace

    The console.log file is only written if you run the server as a background process (e.g. 'server start…') … it contains what is written to the console when the server is run in the foreground ('server run…') and is a more developer-friendly subset of messages.log - it isn't cluttered with timestamps for example.  All the output in console.log will be in messages.log in full format.  The console.log file cannot be renamed but it can be turned off if you don't want it (logging property 'consoleLogLevel' in server.xml or '' in - set to 'OFF'.

    Regards, Alex.