CLI logging recording CLI commands run
Issue
Is there a way to record the scripts runs through CLI in the CLI logging ? I am currently running a cli script to add cache-container and i wanted to know if this can be recorded in the jboss-cli.log for my future use.
/hosting/products/jboss630/bin/jboss-cli.sh --connect --controller=XXXX.com:8888 -c --file=/hosting/bin/jboss/scripts/build/other_properties/cache.props
here is a sample of file cache.props
/profile=Sample/subsystem=infinispan/cache-container=MyTestCache:add(default-cache=Test-cache)
Environment
- Red Hat JBoss Enterprise Application Platform(EAP) 6.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
