Search code examples
loggingglassfishformat

What is the structure or format of the logs generated by GlassFish Server? Is it configurable?


The glassfish server generates logs which can be error logs or debug logs or whatever, which is visible in the console. I wanted to know if it is configurable. Some knowledge about its log-format and what are the fields that it contains would also be helpful.


Solution

  • I got the answer to the location of log files. It is found here:

    "C:\Program Files\glassfish-4.1.1\glassfish\domains\domain1\logs\server.log"

    But its still unclear about the formats. If anyone can just clarify the fields logged in it. And whether its configurable or not.