arangodb - Foxx service logging -
following documentation, should possible log foxx service. https://docs.arangodb.com/2.8/foxx/develop/console.html (looks old version , missing in doc newer versions)
in script console.info("this test");
go , how read it?
i cannot find _foxxlog collections, not sure should , user should have access rights. there log page in admin interface of arango not there.
the documentation reads: as log entries logged collection in database, can query them in own application.
collection in database, , if @ of them, there no logging collection, anywhere.
update
found foxx-manager applicatoin, command-line kung-fu, , has option development
not in it's guess. didn't work @ first added --server.database <mydb>
command executes fine. still clueless log data is.
command result
activated development mode service undefined version undefined on mount point /geo
is mount point of foxx service? new point should able find log data? have tried all, still nothing. log somewhere don't know , activate mount point somewhere?!
conclusion
- create service containing
console.info("test");
- activate development mode
foxx-manager development --server.database <db> <service mount>
- use logs menu
- re-activate development mode after update
log arangodb ui, select database, , click on logs menu item, see logs listed across tabs , logging in there.
i'm not sure other ways access logs, use logs menu.
Comments
Post a Comment