This chapter covers the following topics:
You can configure logging using either of these methods:
To use the web interface to set up loggers, navigate to the Log Configuration page in Enterprise Manager. For example, select the server in the side pane, right-click, and choose Logs, then Log Configuration. For more information, see the Oracle Enterprise Manager documentation.
If your installation uses Coherence for caching (a requirement for high-availability environments), four separate caches are set up: one each for Namespaces, Property Definitions, Property Set Definitions, and Property Sets. This default caching configuration works out of the box with Coherence defaults.
To configure an optional Coherence configuration that is optimized for AXF, refer to the sample axf-cache-config.xml configuration file below, which shows how to configure simple Coherence caches. For more advanced cache types, refer to the Coherence documentation. Note that configuring Coherence as described below is recommended, but not required.
<?xml version="1.0"?> <!-- File: coherence-cache-config.xml --> <cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config" xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config http://xmlns.oracle.com/coherence/coherence-cache-config/1.0/coherence-cache-config.xsd"> <!-- Prefix all service names to ensure no unintended clustering with other cache servers --> <scope-name>com.oracle.ecm.axf</scope-name> <defaults> <serializer>pof</serializer> </defaults> <caching-scheme-mapping> <!-- Specific cache mappings to avoid configuration errors --> <!-- Cache limits are set per cache per node, so the total limit is the sum of all the cache limits on this node. As there are 3 caches the storage will be a maximum of 3 x 100MB = 300MB, in addition to 3 x 5MB = 15MB of near cache for clients. --> <cache-mapping> <cache-name>AXF</cache-name> <scheme-name>CustomNearCacheScheme</scheme-name> </cache-mapping> <cache-mapping> <cache-name>AXF_CONVERSATION</cache-name> <scheme-name>CustomNearCacheScheme</scheme-name> </cache-mapping> <cache-mapping> <cache-name>AXF_EVENT</cache-name> <scheme-name>CustomNearCacheScheme</scheme-name> </cache-mapping> </caching-scheme-mapping> <caching-schemes> <near-scheme> <scheme-name>CustomNearCacheScheme</scheme-name> <front-scheme> <local-scheme> <scheme-ref>SizeLimitedLocalScheme</scheme-ref> </local-scheme> </front-scheme> <back-scheme> <distributed-scheme> <scheme-name>CustomDistributedCacheScheme</scheme-name> <backing-map-scheme> <local-scheme> <scheme-name>SizeLimitedLocalScheme</scheme-name> <eviction-policy>HYBRID</eviction-policy> <!-- 100M --> <high-units>100</high-units> <unit-calculator>BINARY</unit-calculator> <unit-factor>1048576</unit-factor> <expiry-delay>4h</expiry-delay> </local-scheme> </backing-map-scheme> <autostart>true</autostart> </distributed-scheme> </back-scheme> <invalidation-strategy>present</invalidation-strategy> </near-scheme> <local-scheme> <scheme-name>SizeLimitedLocalScheme</scheme-name> <eviction-policy>HYBRID</eviction-policy> <!-- 5M --> <high-units>5</high-units> <unit-calculator>BINARY</unit-calculator> <unit-factor>1048576</unit-factor> <expiry-delay>4h</expiry-delay> <cachestore-scheme></cachestore-scheme> </local-scheme> </caching-schemes> </cache-config>