Examples of RHQCollectFiles


Examples of org.jboss.as.jdr.commands.RHQCollectFiles

    @Override
    public List<JdrCommand> getCommands() throws Exception {
        Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*****");
        return Arrays.asList(
            new RHQStatusCommand(),
            new RHQCollectFiles("bin/rhq-server.properties").sanitizer(passwordSanitizer),
            new RHQCollectFiles("logs/server.log").limit(50 * Utils.ONE_MB),
            new RHQCollectFiles("logs/server.log*").omit("logs/server.log"),
            new RHQCollectFiles("logs/rhq-storage.log")
        );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.