spmallette commented on a change in pull request #1308:
URL: https://github.com/apache/tinkerpop/pull/1308#discussion_r512640267



##########
File path: 
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java
##########
@@ -189,6 +191,12 @@ public void channelRead(final ChannelHandlerContext ctx, 
final Object msg) {
             try {
                 logger.debug("Processing request containing script [{}] and 
bindings of [{}] on {}",
                         requestArguments.getValue0(), 
requestArguments.getValue1(), Thread.currentThread().getName());
+                if (settings.enableAuditLog) {

Review comment:
       I haven't thought this through at all but is it desirable that we would 
double-log here if the user has somehow used both settings (the new and 
deprecated one as `true`)? I see this sort of code in the 
`AbstractEvalOpProcessor` as well. Perhaps setting both to `true` should be 
considered an "illegal" configuration or the setting of the new one to `true` 
should override the old to `false`? Perhaps, setting the old to `true` and the 
new to `false` should result in a WARN to the logger to let them know they are 
using a deprecated settings?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to