Alberto Bustamante Reyes created GEODE-9059:
-----------------------------------------------

             Summary: Remove DataSerializer.DUMP_SERIALIZED references from docs
                 Key: GEODE-9059
                 URL: https://issues.apache.org/jira/browse/GEODE-9059
             Project: Geode
          Issue Type: Improvement
          Components: docs
            Reporter: Alberto Bustamante Reyes


System property "DataSerializer.DUMP_SERIALIZED" is not used in code but it is 
mentioned in documentation in 
"geode-docs/reference/topics/memory_requirements_for_cache_data.html.md.erb"

{quote}
To determine if you are using standard Java serialization, specify the 
-DDataSerializer.DUMP_SERIALIZED=true upon process execution. Then check your 
log for messages of this form:

DataSerializer Serializing an instance of <className>

Any classes list are being serialized with standard Java serialization.
{quote}

Seems these logs can be obtained by using log markers, but it should be 
documented.

>From InternalDataSerializer.basicWriteObject:
{code}
if (logger.isTraceEnabled(LogMarker.SERIALIZER_ANNOUNCE_TYPE_WRITTEN_VERBOSE)){
    logger.trace(LogMarker.SERIALIZER_ANNOUNCE_TYPE_WRITTEN_VERBOSE,
         "DataSerializer Serializing an instance of {}", 
o.getClass().getName());
}
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to