IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Webseal logging in docker environment

  • 1.  Webseal logging in docker environment

    Posted 09/16/19 08:24 AM
    Hi,

    I have problems configuring the logging with ISAM 9.0.7.0 in docker environment.

    Back with ISAM 7, we had following configuration (wrp1 is the instance name), and I put the stanza before each entry :
    ==> Server log
    [logging]server-log = /var/pdweb/log/wrp1.log
    ==> Requests log
    [logging]requests = yes
    [logging]requests-file = /var/pdweb/log/wrp1_request.log
    ==> Audit log
    [aznapi-configuration]logcfg = audit.authn:file path=/var/pdweb/log/wrp1.audit,rollover_size=-1

    If I understand correctly, "server-log" entry is not accessible anymore from the LMI (though it exists in the configuration file inside the container), but there is now the entry "server-log-cfg" which allows writing to a file or to a remote syslog.
    What if I want to do both ?
    And what if there are two different values on these entries, like :
    server-log-cfg = file path=/var/application.logs.local/wrp/wrp1/log/wrp1.log,hi_water=1,flush_interval=1
    server-log = /var/application.logs.local/wrp/wrp1/log/msg__webseald-wrp1.log
    The first entry seems to prevail.

    And about the requests log, the "requests-file" entry is not accessible from the LMI. The only way I have found is to use a logcfg entry, is it correct ?
    logcfg = http.clf:file path=wrp1_request.log,rollover_size=-1

    ------------------------------
    Laurent Carrasco
    ------------------------------