rdkit / neo4j-rdkit

BSD 2-Clause "Simplified" License
28 stars 6 forks source link

on startup display plugin version and version of intgerated RDKit in log #10

Closed pi-at-git closed 3 years ago

sarmbruster commented 3 years ago

in neo4j.log and debug.log you should see a message like

2020-10-25 21:03:27.296+0000 INFO  [system] Neo4j rdkit plugin version: 1.0.0 using rdkit version: 2020.03.1, rdkit build: Linux|5.3.0-46-generic|UNIX|GNU|64-bit
pi-at-git commented 3 years ago

grep rdkit logs/debug.log yields 2020-10-28 20:20:04.203+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /var/lib/neo4j/plugins/rdkit-index-1.1.0-SNAPSHOT-4.1.jar 2020-10-28 20:20:04.429+0000 INFO [o.n.i.d.DiagnosticsManager] rdkit.index.sanitize=true would be great if rdkit version was also displayed

sarmbruster commented 3 years ago

have you checked in neo4j.log? I'm getting

logs/neo4j.log:2020-10-27 10:51:11.493+0000 INFO [system] Neo4j rdkit plugin version: 1.0.0 using rdkit version: 2020.03.1, rdkit build: Linux|5.3.0-46-generic|UNIX|GNU|64-bit there.

pi-at-git commented 3 years ago

I started neo4j with the following command:

docker run --rm -p 127.0.0.1:7474:7474 -p 127.0.0.1:7687:7687 \ -v ~/docker_vols_neo4j_4.1.3/plugins:/var/lib/neo4j/plugins \ -v ~/docker_vols_neo4j_4.1.3/data:/var/lib/neo4j/data \ -e NEO4J_AUTH=none \ -e NEO4J_dbms_memory_pagecache_size=8G \ -e NEO4J_dbms_memory_heap_max__size=16G \ -e NEO4J_rdkit_index_sanitize=true \ --user=$(id -u):$(id -g) \ neo4j:4.1.3

the log-folder in the container has only /var/lib/neo4j/logs/debug.log, unable to find neo4j.log: find / -name "neo4j.log" yields nothing

sarmbruster commented 3 years ago

In docker land, logs/neo4j.log is not there, instead it's the docker logs itself.

Please check using docker logs <containername>

pi-at-git commented 3 years ago

supi@berzerQ:~ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2894c14445c4 neo4j:4.1.3 "/sbin/tini -g -- /d…" 2 minutes ago Up 2 minutes 127.0.0.1:7474->7474/tcp, 7473/tcp, 127.0.0.1:7687->7687/tcp admiring_lamport supi@berzerQ:~ docker logs admiring_lamport Directories in use: home: /var/lib/neo4j config: /var/lib/neo4j/conf logs: /logs plugins: /var/lib/neo4j/plugins import: /var/lib/neo4j/import data: /var/lib/neo4j/data certificates: /var/lib/neo4j/certificates run: /var/lib/neo4j/run Starting Neo4j. APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix. 2020-10-28 21:22:30.632+0000 INFO Starting... 2020-10-28 21:22:33.357+0000 INFO ======== Neo4j 4.1.3 ======== 2020-10-28 21:22:42.940+0000 INFO Performing postInitialization step for component 'security-users' with version 2 and status CURRENT 2020-10-28 21:22:42.940+0000 INFO Updating the initial password in component 'security-users'
2020-10-28 21:22:44.867+0000 INFO Called db.clearQueryCaches(): Query cache already empty. 2020-10-28 21:22:44.938+0000 INFO Bolt enabled on 0.0.0.0:7687. 2020-10-28 21:22:45.959+0000 INFO Remote interface available at http://localhost:7474/ 2020-10-28 21:22:45.961+0000 INFO Started.

unfortunately, no hint for rdkit version & co - do I do something wrong?

pi-at-git commented 3 years ago

works as expected with new version