No conf folder on installation of 2.01 on win 7

67 views
Skip to first unread message

Modi Tamam

unread,
Feb 23, 2014, 4:49:15 AM2/23/14
to ne...@googlegroups.com
Hi,
After installing the 2.0.1 version of Neo4J, I can not find the conf folder.

Can someone please help me here?

Mark Needham

unread,
Feb 23, 2014, 6:38:32 AM2/23/14
to ne...@googlegroups.com
Hey,

AFAIK there isn't a conf folder - the properties file (neo4j.properties) is in the directory where Neo4j is installed. I'm assuming you installed it using the installer so you should be able to find the location of the file from the UI.

What were you wanting to configure?

(unfortunately I don't have my machine which has a Windows VM on me so I can't check for you!)

Cheers
Mark


--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Modi Tamam

unread,
Feb 24, 2014, 3:05:55 AM2/24/14
to ne...@googlegroups.com
Hi,
I'm trying to see what are the queries that I execute, transactions and any database activity that my code (Java - Spring data framework) performs under the hood.

Any assistance will be appriciated.

Mark Needham

unread,
Feb 24, 2014, 3:09:44 AM2/24/14
to ne...@googlegroups.com

Modi Tamam

unread,
Feb 24, 2014, 3:15:43 AM2/24/14
to ne...@googlegroups.com
If I understand it correctly, this thread is about enabling the query logs on the application side and not on the database logs.
What I wanted is to see on is the databse logs (same like you can find on MySQL, MongoDB etc.)


--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/KxNSi2KS4kE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Best Regards
Mordechai Tamam

Mark Needham

unread,
Feb 24, 2014, 3:22:16 AM2/24/14
to ne...@googlegroups.com
Do you mean error/debug logging? You can see that in the messages.log file.

If you mean transaction logs then you can look at nioneo_logical.log.1, nioneo_logical.log.2, nioneo_logical.log.v* - there's a class in the kernel called DumpLogicalLog which you can use to read them in a textual format. 

Modi Tamam

unread,
Feb 24, 2014, 3:33:24 AM2/24/14
to ne...@googlegroups.com
I'll elaborate a bit, I have a flow ( on my code ) and I want to see all of the interactions (queries, opening/closing transactions etc) with the database and I want to see it on the databse's logs.

Regarding the messages.log file, what's in there, where can I find it?

What do you mean by "DumpLogicalLog which you can use", how can I use it?

Mark Needham

unread,
Feb 24, 2014, 3:41:12 AM2/24/14
to ne...@googlegroups.com
> I'll elaborate a bit, I have a flow ( on my code ) and I want to see all of the interactions (queries, opening/closing transactions etc) with
> the database and I want to see it on the databse's logs.

Most of that logging is too verbose for normal use so it's disabled by default. I'm not sure whether we even log when transactions open/close even in debug mode...I'll check.

If you're using cypher then one cypher statement happens within a transaction if that's what you're interested in.

I'll check how to enable logging of cypher statements. That is also disabled by default - we used to have it turned on but it ended up filling up people's disk in no time.

> Regarding the messages.log file, what's in there, where can I find it?

It will be in the same folder where the Neo4j store files are...if you used Neo4j desktop then it'll be something like c:/Users/you/Neo4j/. 

> What do you mean by "DumpLogicalLog which you can use", how can I use it?

I don't think that's relevant based on your clarification of what you want to do. It's a lower level tool for seeing the commands used in transactions. 

Modi Tamam

unread,
Mar 2, 2014, 6:49:58 AM3/2/14
to ne...@googlegroups.com
Hi Mark,
I'm still waiting for your answer.
I'm using SDN-3.0.0 and connecting to a standalone Neo4J db over REST.
I want to add additional details, I'm using SDN - 3.0.0.RELEASE, and what I want is to get an indication about the queries that SDN sends/executes 
on the database server .

I set the 
org.neo4j.server.http.log.enabled=true
On the neo4j-server.properties file.

And I see that there is another property beneath it:
org.neo4j.server.http.log.config=neo4j-http-logging.xml

So, where is that file? and where are the logs are written to?

Mark Needham

unread,
Mar 2, 2014, 7:00:36 AM3/2/14
to ne...@googlegroups.com
Hey,

Sorry, I've actually been trying to figure out how to get HTTP logging to work but I haven't been successful yet. I debugged the code all the way down to where the logback config gets passed to Jetty and it all looks fine but then nothing gets logged!


Mark

Michael Hunger

unread,
Mar 2, 2014, 7:13:48 AM3/2/14
to ne...@googlegroups.com
SDN query logging should be enabled by setting these loggers to DEBUG
in your client app logging config

for embedded: org.springframework.data.neo4j.support.query
for remote/REST org.springframework.data.neo4j.rest

Modi Tamam

unread,
Mar 2, 2014, 7:47:56 AM3/2/14
to ne...@googlegroups.com
Will I be able to view the REST calls for opening/commiting transactions ?

Michael Hunger

unread,
Mar 2, 2014, 9:33:03 AM3/2/14
to ne...@googlegroups.com
There are no transactions over REST 

Michael

Sent from mobile device

Modi Tamam

unread,
Mar 2, 2014, 9:41:11 AM3/2/14
to ne...@googlegroups.com
Sorry, but I thought that this page describes the transactional REST API, obviously I was wrong.

So, what did you mean by writing:
The Neo4j transactional HTTP endpoint allows you to execute a series of Cypher statements within the scope of a transaction. The transaction may be kept open across multiple HTTP requests, until the client chooses to commit or roll back. Each HTTP request can include a list of statements, and for convenience you can include statements along with a request to begin or commit a transaction.

Michael Hunger

unread,
Mar 2, 2014, 10:57:15 AM3/2/14
to ne...@googlegroups.com
It does, but that's not used yet by SDN. SDN was initially built on
the embedded java-API (long before Cypher) and one of the goals for
the future is a complete rewrite of the internals to replace that
Java-API use by a cypher driver + Java-object graph mapper +
SDN-integration, but right now there is no timeline or concrete plans
for that.

Modi Tamam

unread,
Mar 2, 2014, 11:06:58 AM3/2/14
to ne...@googlegroups.com
I see, so, correct me if I'm wrong, but what you are saying, is that at the moment,
SDN is not the recommended solution for communicating with a remote Neo4J instance.


Best Regards
Mordechai Tamam

Michael Hunger

unread,
Mar 2, 2014, 11:14:03 AM3/2/14
to ne...@googlegroups.com
Yep. You can do it for demo purposes and if you use a lot of cypher queries on your repositories, but in general the fine grained, chatty operations over the wire are too much overhead.

Michael

Modi Tamam

unread,
Mar 3, 2014, 2:16:01 AM3/3/14
to ne...@googlegroups.com
OK, we'll disscuss the SDN production-unreadiness and the alternatives on another thread.

Let's go back to this thread initial issue, how do I configure the db, so that I'll be able
to see all of the REST requests to the database?if it's possible...

Michael Hunger

unread,
Mar 3, 2014, 4:04:57 AM3/3/14
to ne...@googlegroups.com
Probably easiest way is to add a proxy like fiddler in between.

Currently the java-rest-binding doesn't have custom logging, but you
should be able to enable logging in jersey-client with setting

com.sun.jersey to finest / debug

Didn't try it though.

Michael

Modi Tamam

unread,
Mar 3, 2014, 4:24:32 AM3/3/14
to ne...@googlegroups.com
Thank's a lot .
Best Regards
Mordechai Tamam
Reply all
Reply to author
Forward
0 new messages