Skip to content

LynxDelli/console-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#MarkLogic

http://www.marklogic.com/

MarkLogic leads the advancement of Big Data with the first operational database technology for mission-critical Big Data Applications.

How To Install:

  • You need to have Firebug installed on Firefox;
  • Go to project webpage - official Firefox Plugin page - https://addons.mozilla.org/en-US/firefox/addon/marklogic-console-for-fireb/
  • Click the green button "Add to Firefox' and the plugin will start installing;
  • You will need to restart your Firefox after successful completion;
  • After the Firefox restart, click F9 to open ConsoleML
  • A new tab 'ConcoleML' will be visible in Firebug. Open it and click on the Log link to setup your log configuration.

# Buttons information:

drop-down button gives you opportunity to save Entire log or just filtered log.

drop-down button gives you opportunity to change how log is displayed.

The Clear button clears the buffered log messages. When clicked, only new messages will be displayed.

The Log drop-down lets you select a configured log, edit the selected log configuration, delete the selected log configuration, or create a new log configuration.

The Level+ button enables display of multiple classes of messages at once.

The Log levels pull down enables individual filters for each error class. For each enabled error class, a button appears to the right for that level (for example, licking on Info in the Log Levels drop-down will show an info button. Clicking the Info button shows all Informational messages.

Filter buttons (Finest, Finer, Fine, Debug, Config, Info , Warning, Notice, Error, Critical, Alert, Emergency). Clicking one will display only buffered messages of that type. These buttons are enabled or disabled using the Log levels drop-down.

View entire log - request whole log from server and render it. If log file is on local machine and its too big will display just last 1MB.

ConsoleML have build-in search within visible log - next match, previous match, highlight all matches. You can find the search at the top right corner of the plugin

# Setting up a log configuration:

The Log name is only meaningful to the user. It is not, for example, the name of the error log file.

Next to the Log path text box is a help icon (balloon with a question mark) that shows some example paths). Type the full path to the current log file (C:\Program Files\MarkLogic\Data\Logs\ErrorLog.txt for Windows).

The Log URL in the remote Log configuration identifies a REST endpoint that will return a text Log file (The built in endpoint invocation is (e.g.) HTTP://localhost:8001/get-error-log.xqy?filename=ErrorLog.txt. This is will read the local log file. Substitute your remote host for “localhost” to read a remote log file.

Since ConsoleML will only show messages posted to the log since the plug-in was started (or since the clear button was clicked), it won’t work for log files that aren’t changing (like ErrorLog_1.txt).