Article DetailsDetailsHelp DetailsStarting with Neo4j Enterprise Version 5, configuration settings for file management have been moved to log4j configuration files. The APACHE Log4jTM2 Framework allows flexibility in logging requirements. Further information regarding the changes from Neo4j Version 4.x to Version 5.x, are documented at:https://neo4j.com/docs/upgrade-migration-guide/current/version-5/migration/breaking-changes/#_changes_to_configuration Additional information on how to use log4j configuration and logging in Neo4j Version 5, is available at:https://neo4j.com/docs/operations-manual/current/monitoring/logging/ In earlier Neo4j 4.x versions, one could enable debug logging for the Neo4j debug.log by enabling the setting "dbms.logs.debug.level=DEBUG" within the neo4j.conf file. Similar additional debug logging can be achieved in Neo4j Version 5.x by configuring the $NEO4J_HOME/conf/server-logs.xml, by updating the DebugLog Logger to DEBUG level as below. (default is set to INFO.) <!-- The debug log is used as the root logger to catch everything --> <Root level="DEBUG"> <AppenderRef ref="DebugLog"/> <!-- Keep this --> </Root> The configuration change will be implemented upon the next restart or after the time configured in the server-conf.xml monitorInterval has passed, which defaults to 30 seconds as shown below: <Configuration status="ERROR" monitorInterval="30" packages="org.neo4j.logging.log4j"> InformationTitleHow to Enable Debug Logging in the Neo4j debug.log for Neo4j v5Article Created Date3/15/2024, 10:54 PMURL Name14227983105299-How-to-Enable-Debug-Logging-in-the-Neo4j-debug-log-for-Neo4j-v5Last Modified Date5/22/2024, 5:20 AM