How to enable Audit logs on host-level or server-level in Jboss Domain mode

Solution Unverified - Updated -

Issue

  • Cannot set audit logger attribute at server level. Write attribute is not available only read is available.
  • Even when setting audit log to enabled at the host level, server stays disabled
  • Is there a way to set server audit logging in EAP 8
  • this command does not work:
/host=master/server=<SERVERNAME>/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 8.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content