Updated Geode Internal Architecture (markdown) Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/ff8f297e Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/ff8f297e Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/ff8f297e
Branch: refs/heads/gh-wiki Commit: ff8f297e024275be093a11f9e1c108209558c284 Parents: 00043bc Author: Dan Smith <[email protected]> Authored: Fri Apr 10 14:24:32 2015 -0700 Committer: Dan Smith <[email protected]> Committed: Fri Apr 10 14:24:32 2015 -0700 ---------------------------------------------------------------------- Geode-Internal-Architecture.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/ff8f297e/Geode-Internal-Architecture.md ---------------------------------------------------------------------- diff --git a/Geode-Internal-Architecture.md b/Geode-Internal-Architecture.md index c38fb18..7a26f98 100644 --- a/Geode-Internal-Architecture.md +++ b/Geode-Internal-Architecture.md @@ -17,7 +17,9 @@ Internal classes are serialized with the same framework, but we don't use the pu # Logging and Statistics -Geode has its own framework for logging. You can get an instance of the logger from the geode cache, using cache.getLoggerI18n. +Geode uses log4j2 for logging. To get a logger add a static logger field to your class + + private static final Logger logger = LogService.getLogger(); Geode also has a framework for recording statistics. see [engbestpractices:Adding Stats Basics] for how to add new statistics.
