Skip to main content

Administrating MarkLogic Server

Configuring System Log Files

To configure how log information is generated, follow these steps:

  1. Click the Groups icon on the left tree menu.

  2. Click the group for which you want to configure the log file settings.

  3. Scroll down to the log settings, towards the bottom of the page.

    The following example shows the default log settings:

    log_v10.gif
  4. Go to System Log Level to change the level if needed.

  5. Go to File Log Level to change the logging level of the MarkLogic Server private log file (ErrorLog.txt) if needed.

  6. Go to Rotate Log Files to select when MarkLogic Server should start a new private log file for this group.

    The following table describes each time frame:

    Time Frame

    Description

    Never

    The log file grows without bound.

    Daily

    A new log file is started every day at 12:00 A.M.

    Sunday

    A new log file is started every week on Sunday at 12:00 A.M.

    Saturday

    A new log file is started every week on Saturday at 12:00 A.M.

    Friday

    A new log file is started every week on Friday at 12:00 A.M.

    Thursday

    A new log file is started every week on Thursday at 12:00 A.M.

    Wednesday

    A new log file is started every week on Wednesday at 12:00 A.M.

    Tuesday

    A new log file is started every week on Tuesday at 12:00 A.M.

    Monday

    A new log file is started every week on Monday at 12:00 A.M.

    Monthly

    A new log file is started at 12:00 AM on the first day of each month.

  7. Go to Keep Log Files to enter the number of private log files to keep.

    The private log files are kept in an aging archive. After the number of log files grows to the value specified in the Keep Log Files setting, when a new log file is started, the oldest log file archive is automatically deleted.

  8. Scroll to the top or bottom and click OK.