Search code examples
open-liberty

Specify FFDC filename


Anybody know of a way to specify which filename to use for ffdc logs and summary? I have tried to specify the environment variable com.ibm.ffdc.log with no effect. I am using OpenLiberty 19.

Thanks.


Solution

  • This variable is used in WebSphere traditional (8.5.5/9.0).

    OpenLiberty logging configuration is described here - https://openliberty.io/docs/21.0.0.6/log-trace-configuration.html

    In Liberty you can change the output and log folder locations. You can also combine messages from various sources via properties or env variables. For example:

    WLP_LOGGING_MESSAGE_FORMAT=json
    WLP_LOGGING_MESSAGE_SOURCE=message,trace,accessLog,ffdc,audit
    

    Any reasons why you need to change ffdc filename/location?