Friday, 30 September 2011

Bash/shell: Quick hints for gathering information from the MarkLogic logs

One useful debugging / problem tracing tool I find myself using a lot is using grep with the -AXX argument, to find a specific error and dump the first XX lines of the stacktrace out. In this example, it'll find the word "cast" (for an invalid cast exception, for example) and dump the following 20 lines from that term

To get a list of unique GET requests made to a given http application server:

No comments: