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!

Maybe you can use SDN's logging instead?
http://stackoverflow.com/questions/8958583/is-there-a-way-to-log-queries-on-neo4j-like-hibernate

Mark


On 2 March 2014 11:49, Modi Tamam <[email protected]> wrote:

> 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?
>
>
> On Monday, February 24, 2014 10:41:12 AM UTC+2, Mark Needham wrote:
>
>> > 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.
>>
>>
>> On 24 February 2014 08:33, Modi Tamam <[email protected]> wrote:
>>
>>> 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?
>>>
>>>
>>> On Mon, Feb 24, 2014 at 10:22 AM, Mark Needham <[email protected]>wrote:
>>>
>>>> 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.
>>>>
>>>>
>>>> On 24 February 2014 08:15, Modi Tamam <[email protected]> wrote:
>>>>
>>>>> 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.)
>>>>>
>>>>>
>>>>> On Mon, Feb 24, 2014 at 10:09 AM, Mark Needham <[email protected]>wrote:
>>>>>
>>>>>> Does this thread help for cypher logging? http://stackoverflow.
>>>>>> com/questions/8958583/is-there-a-way-to-log-queries-on-
>>>>>> neo4j-like-hibernate
>>>>>>
>>>>>>
>>>>>> On 24 February 2014 08:05, Modi Tamam <[email protected]> wrote:
>>>>>>
>>>>>>> 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.
>>>>>>>
>>>>>>>
>>>>>>> On Sunday, February 23, 2014 1:38:32 PM UTC+2, Mark Needham wrote:
>>>>>>>
>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>> On 23 February 2014 09:49, Modi Tamam <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> After installing the 2.0.1 version of Neo4J, I can not find the
>>>>>>>>> conf folder.
>>>>>>>>>
>>>>>>>>> Can someone please help me here?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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 [email protected].
>>>>>>>>>
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>>> 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 [email protected].
>>>>>>>
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>
>>>>>>  --
>>>>>> 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
>>>>>> [email protected].
>>>>>>
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards
>>>>> Mordechai Tamam
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>  --
>>>> 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
>>>> [email protected].
>>>>
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards
>>> Mordechai Tamam
>>>
>>> --
>>> 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 [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to