apoc.log.debug
This is the APOC Extended documentation. APOC Extended is not supported by Neo4j. For the officially supported APOC Core, go to the APOC Core page. |
Procedure Apoc Extended
apoc.log.debug(message, params) - logs debug message
Config parameters
The procedure support the following properties in the APOC configuration file (apoc.conf
):
name | type | default | description |
---|---|---|---|
apoc.user.log.type |
String |
|
Type of logging.
|
apoc.user.log.window.ops |
Long |
10 |
Number of log messages permitted in a time-window. If this quota is exceeded, log messags will be skipped. |
apoc.user.log.window.time |
Long |
10000 |
Length (in milliseconds) of the time-window. |
Usage Examples
For this procedure to log messages, we need to set the following config in the Neo4j configuration file:
dbms.logs.debug.level=DEBUG
We can log a message to neo4j.log
using the following query:
CALL apoc.log.debug('Hello %s', ['World']);
CALL apoc.log.debug('Hello %s', ['World']);