apoc.log.stream

Procedure

apoc.log.stream('neo4j.log', { last: n }) - retrieve log file contents, optionally return only the last n lines

Signature

apoc.log.stream(path :: STRING?, config = {} :: MAP?) :: (lineNo :: INTEGER?, line :: STRING?, path :: STRING?)

Input parameters

Name Type Default

path

STRING?

null

config

MAP?

{}

Output parameters

Name Type

lineNo

INTEGER?

line

STRING?

path

STRING?