Request Logger records the requests sent to the
server. After creating a document or query manager, you can set a
logger on the manager. You can choose to log content sent to the
server as well as requests. FileHandle constitutes an exception to
the ability to log content. Only the name of the file is
logged.
Returns the underlying PrintStream used for
logging.
Returns:
the PrintStream for logging
copyContent
<T>TcopyContent(T content)
Copies content to the log during request
processing up to the length limit specified for the logger.
Ordinarily, this method is called internally during reading content
from the database or writing content to the database. You may,
however, use this method directly if convenient.
Type Parameters:
T - the type to return
Parameters:
content - the copied content
Returns:
the copied content
flush
voidflush()
Send buffered output to the log
destination.
close
voidclose()
Close the log.
Copyright (c) 2010-2025 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.