Topic
1 reply Latest Post - ‏2013-08-28T21:28:16Z by AlexMulholland
XVQG_Anwarul_Azim
XVQG_Anwarul_Azim
15 Posts
ACCEPTED ANSWER

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)..is it true?

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

Thanks

  • AlexMulholland
    AlexMulholland
    32 Posts
    ACCEPTED ANSWER

    Re: log file confusions.

    ‏2013-08-28T21:28:16Z  in response to XVQG_Anwarul_Azim

    Hi,

    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 'com.ibm.ws.logging.console.log.level' in bootstrap.properties - set to 'OFF'.

    Regards, Alex.