Logging to MongoDB and Ambience 202x server logs can be suppressed/streamlined by adding the following to etc/application.conf:
-
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 -
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 -
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"
} -
Disable activity log retention in MongoDB and retention period (if enabled is set to true), eg:
ambience.activity-log {
enabled: false
expiry: 12 hours
} -
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
}