Additional MongoDB Logging Configurations for Ambience 202x

Logging to MongoDB and Ambience 202x server logs can be suppressed/streamlined by adding the following to etc/application.conf:

  1. Disable ETL logging to event log collections in MongoDB to exclude log messages from each step from being logged, eg:
    ambience.etl.logging.write-to-job-log: false

  2. Disable ETL logging to ambience.log file in /log directory of Ambience Server installation to exclude log messages from each step from being logged, eg:
    ambience.etl.logging.write-to-server-log: false

  3. Disable writing log messages to MongoDB collections and specify log message level (if enabled is set to true), eg:
    elixir.logging.mongo-appender {
    enabled = false
    level = "WARN"
    }

  4. Disable activity log retention in MongoDB and retention period (if enabled is set to true), eg:
    ambience.activity-log {
    enabled: false
    expiry: 12 hours
    }

  5. Configure the retention period and batch size for clearing temp files from the MongoDB database, eg:
    ambience.temp-cleaner {
    expiry: 12 hours
    batch-size: 100
    }