Skip to content
Snippets Groups Projects
Unverified Commit 22875b2f authored by Daniel's avatar Daniel
Browse files

ENH: Logging names improved.

parent f955cd5a
Branches
Tags
No related merge requests found
...@@ -8,7 +8,12 @@ Note that some libraries on the classpath use the `java.util.logging` API and lo ...@@ -8,7 +8,12 @@ Note that some libraries on the classpath use the `java.util.logging` API and lo
## Configuration ## Configuration
The configuration of the log4j2 backend is done via `properties` files which comply with the log4j2 specifications [1](https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties). XML, YAML, or JSON files are not supported. The usual mechanisms for automatic configuratio with such files is disabled. Instead, files have to be placed into the `conf` subdirs, as follows: The configuration of the log4j2 backend is done via `properties` files which
comply with the [log4j2
specifications](https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties).
XML, YAML, or JSON files are not supported. The usual mechanisms for automatic
configuration with such files is disabled. Instead, files have to be placed
into the `conf` subdirs, as follows:
### Default and Debug Logging ### Default and Debug Logging
......
...@@ -112,7 +112,7 @@ public class EntityResource extends AbstractCaosDBServerResource { ...@@ -112,7 +112,7 @@ public class EntityResource extends AbstractCaosDBServerResource {
final long t2 = System.currentTimeMillis(); final long t2 = System.currentTimeMillis();
entityContainer entityContainer
.getTransactionBenchmark() .getTransactionBenchmark()
.addMeasurement(getClass().getSimpleName() + ".httpGetInChildClass.handle", t2 - t1); .addMeasurement(getClass().getSimpleName() + ".httpGetInChildClass#handle", t2 - t1);
final Retrieve retrieve = new Retrieve(entityContainer); final Retrieve retrieve = new Retrieve(entityContainer);
retrieve.execute(); retrieve.execute();
...@@ -121,7 +121,7 @@ public class EntityResource extends AbstractCaosDBServerResource { ...@@ -121,7 +121,7 @@ public class EntityResource extends AbstractCaosDBServerResource {
entityContainer entityContainer
.getTransactionBenchmark() .getTransactionBenchmark()
.addMeasurement( .addMeasurement(
getClass().getSimpleName() + ".httpGetInChildClass.retrieve.execute", t3 - t2); getClass().getSimpleName() + ".httpGetInChildClass#retrieve.execute", t3 - t2);
final Element rootElem = generateRootElement(); final Element rootElem = generateRootElement();
entityContainer.addToElement(rootElem); entityContainer.addToElement(rootElem);
...@@ -131,7 +131,7 @@ public class EntityResource extends AbstractCaosDBServerResource { ...@@ -131,7 +131,7 @@ public class EntityResource extends AbstractCaosDBServerResource {
entityContainer entityContainer
.getTransactionBenchmark() .getTransactionBenchmark()
.addMeasurement( .addMeasurement(
getClass().getSimpleName() + ".httpGetInChildClass.element_handling", t4 - t3); getClass().getSimpleName() + ".httpGetInChildClass#element_handling", t4 - t3);
return ok(doc); return ok(doc);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment