Configure logging
Configure logging settings for Itential Platform, applications, and adapters through Admin Essentials or configuration files.
Before you begin
- Verify your Platform version: Admin Essentials > About
- Review your organization’s log retention policies
- Understand log levels and their impact on performance
Version support
Configure global logging
Changes require a Platform restart.
Platform 6
Platform 2023.2 and earlier
Configuration parameters
Log level and output
Control minimum severity level for logs written to files and console.
Environment variables:
ITENTIAL_LOG_LEVELITENTIAL_LOG_LEVEL_CONSOLE
Properties file:
Choose log levels by scenario
In container deployments where console logs forward to centralized logging, set both log_level and console_level to the same value.
Log format
Configure output format for logs. Structured JSON format enables automated parsing.
Environment variables:
ITENTIAL_LOG_FORMAT_JSONITENTIAL_CONSOLE_FORMAT_JSONITENTIAL_SYSLOG_FORMAT_JSON
Properties file:
Existing multi-argument log calls automatically convert to structured JSON format at runtime. You don’t need to update logging code immediately when enabling JSON format.
Log file management
Configure log file location, naming, and rotation behavior.
Environment variables:
ITENTIAL_LOG_DIRECTORYITENTIAL_LOG_FILENAMEITENTIAL_LOG_MAX_FILE_SIZEITENTIAL_LOG_MAX_FILES
Properties file:
Production recommendation:
log_max_file_size:52428800(50 MB)log_max_files:50to100- Provides approximately 7-30 days of retention depending on log volume
Timestamps
Configure timezone for log timestamps.
Environment variable: ITENTIAL_LOG_TIMEZONE_OFFSET
Properties file:
UTC (offset 0) is recommended for production environments to simplify log correlation across distributed systems.
Enable structured JSON logging
Structured JSON logging provides better security and easier parsing for log aggregation tools.
Requirements: Platform 2023.2 or Platform 6.2+
Configure component-specific logging
Override global settings for individual adapters or applications without restarting Platform.
Important notes:
- Changes apply immediately (no restart required)
- Component reverts to global settings after Platform restart
- Use for temporary troubleshooting only
Configuration examples
Production with log aggregation
Recommended for production environments with log aggregation tools:
Platform 6 (properties file):
Environment variables:
Platform 2023.2 (profile document):
Development environment
Provides detailed diagnostic output:
Platform 6 (properties file):
Environment variables:
Never use debug log level in production. It generates excessive log volume and can impact performance.
Container deployment
Console logs forward to centralized logging:
Environment variables:
Disable file logging and use JSON-formatted console output for container log forwarding.
Legacy platform (2023.1 and earlier)
For environments without structured log parsing:
Profile document:
Calculate log retention
Determine retention period based on configuration:
Example calculation:
log_max_file_size: 52428800 (50 MB)log_max_files: 50- Estimated daily log volume: 100 MB
Adjust retention by:
- Increasing
log_max_filesfor longer retention - Increasing
log_max_file_sizefor fewer rotation events - Decreasing
log_levelverbosity to reduce daily volume
Syslog configuration
Forward logs to external syslog server:
Environment variables:
ITENTIAL_SYSLOG_HOSTITENTIAL_SYSLOG_PORTITENTIAL_SYSLOG_PROTOCOLITENTIAL_SYSLOG_FACILITYITENTIAL_SYSLOG_FORMAT_JSON
Properties file: