GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing docs.voltactivedata.com — @AdjustLogging Using VoltDB@AdjustLogging@AdjustLogging — Changes the logging level for a Volt component. Synopsis@AdjustLogging String component, String level DescriptionThe @AdjustLogging system procedure lets you change the logging level for a specific logging component in VoltDB. The first argument, component, is the Volt component you want to modify and the second argument, level, is the new logging level. You can also adjust the logging level using the voltadmin log4j command with the syntax component=level as a single text string with no spaces. For example: $ voltadmin log4j snapshot=warn Return ValuesReturns one VoltTable with one row.
ExamplesFrom the command line, the recommended way to adjust the logging level is to use the voltadmin log4j command, specifying the logging component and new logging level as arguments. For example, the following command changes the logging level of export messages to debug or higher. $ voltadmin log4j export=debug The following program example demonstrates how to make the same adjustment to the logging level using the system procedure in Java: try {
client.callProcedureSync("@AdjustLogging","export","debug");
}
catch (Exception e) {
e.printStackTrace();
}
| ||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |