{"id":1713,"date":"2012-07-11T10:21:21","date_gmt":"2012-07-11T14:21:21","guid":{"rendered":"http:\/\/hstore.cs.brown.edu\/?page_id=1713"},"modified":"2013-10-15T17:32:14","modified_gmt":"2013-10-15T21:32:14","slug":"output-logs","status":"publish","type":"page","link":"https:\/\/hstore.cs.brown.edu\/documentation\/debugging\/output-logs\/","title":{"rendered":"Execution Output Logs"},"content":{"rendered":"

\u00ab<\/B> Debugging C++ Execution Engine<\/a><\/div>
Profiling H-Store using JProfiler<\/a> \u00bb<\/B><\/div>
<\/div><\/p>\n

Java Log Files<\/h2>\n

The Java portion of H-Store uses log4j<\/a> to generate all debug messages. All of the log output generated by the H-Store nodes in the cluster will be automatically sent back to the machine where you invoked the hstore-benchmark<\/tt> target from the command-line. The log files will be automatically split into separate files in directory defined in the site.log_dir<\/a> configuration parameter.<\/p>\n

In the root directory of the H-Store repository, there is a file log4j.properties<\/a> that controls the debug out portion of the Java frontend. This file is read in when the system starts at each node and then is polled every 10 seconds to check for changes. Note that this file is only local to the HStoreSite running from that directory (i.e., the files is not automatically sent to other hosts in the H-Store cluster).<\/p>\n

To enable debug output for a particular class file or package, you need to add entry into log4j.properties<\/tt> and declare what output level you want for it. There are three different log levels for log4j:<\/p>\n