Cleaning Up the Log Files - trillium_discovery - trillium_quality - 17.1

Trillium Beyond The Basics Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium Beyond The Basics Guide
Topic type
How Do I
Administration
Installation
Overview
Reference
Configuration
First publish date
2008
ft:lastEdition
2024-02-22
ft:lastPublication
2024-02-22T07:10:57.278355

The Repository Manager makes a log entry each time an activity that affects the repository takes place and generates two types of log files: mtb_server.log and log.00000000nn. You can run the following steps to clean up those log files periodically.

The maximum size for mtb_server.log is 4 GB. When the log exceeds that size, the Scheduler does not start. If you encounter this problem, either rename the current log file or move it to a new location.

To clean up mtb_server.log file

  1. Go to the logs directory in your repository directory.

    Example

    C:/ProgramData/Trillium Software/MBSW/version/Data/logs

  2. Locate the file mtb_server.log.

  3. Rename the file or move it to a new location. A new log file is aTomatically created next time a log activity takes place.

To clean up repository log files

  1. Open the Windows Control Panel > Administrative Tools > Services.

  2. Right-click on the Service named TSSversion- Scheduler and select Stop.

  3. From the Start menu, select Programs > Trillium Software > TSSversion > Repository Administration Command Prompt.

  4. At the login: prompt, enter the repository administrator name and press Enter.

  5. At the password: prompt, enter the password for the repository administrator and press Enter.

  6. At the repository: prompt, enter the name of the repository you are working with and press Enter.

  7. Type the following command at the command prompt and press Enterexpert

  8. Type the following command in one line and press Enter.foreach path [::com::avellino::metabase::archive abs]{file delete $path}

  9. Go to the _txnlogs directory in your repository directory.

    Example

    C:/ProgramData/Trillium Software/MBSW/version/Data/metabase/repository_name/_txnlogs

  10. Verify that there is only one log file left in the directory.