Install log formatter in glassfish

后端 未结 1 1456
后悔当初
后悔当初 2021-01-13 02:03

I don´t like the output of the com.sun.enterprise.server.logging.UniformLogFormatter which might be uniform but not very helpful. So in a first step I just repl

相关标签:
1条回答
  • 2021-01-13 02:37

    Have a look at Configuring format of server log on the GlassFish forums. Basically, you need to:

    • Implement your formatter
    • Put the jar with your formatter in domain_dir/lib/ext.
    • Declare it in <mydomain>/config/logging.properties

    See also

    • Configuring Logging
    0 讨论(0)
提交回复
热议问题