Symphony Log Unification
This applies to: Visual Data Discovery
Symphony has unified logback configuration throughout Symphony microservices. You can configure Symphony to write these logs to the console in addition to or instead of the service files. See Configure Symphony Logs and Symphony Log Files Reference.
Log Configuration Properties
Adjust these properties to set up logging for your environment.
Name | Default Value | Description |
---|---|---|
install.dir |
|
Use to evaluate the value of |
logs.dir |
|
The location of the log file and error log file. |
spring.application.name |
|
Use to evaluate the default values of |
logs.file-name |
|
Name of log file. Log file suffix: |
log.console.level |
|
The maximum level of logs to print to |
log.file.level |
|
The maximum level of logs to print to the log file. See Log File Values. |
log.password.regex |
|
Regular expression used to detect passwords in log output. Replaces with |
log.url-password.regex |
|
Regular expression used to detect and remove credential in URLs and remove the credentials. |
log.sanitization.enabled |
|
The default, Toggles sanitization of log message via |
log.file.size |
|
The maximum size of the log file in MB. When that size is reached, the file is renamed using this pattern: |
log.file.count |
|
Maximum number of log files. |
log.error.file.size |
|
The maximum size of the error log file in MB. When that size is reached, the file is renamed using this pattern: |
log.error.file.count |
|
Maximum number of error log files. |
syslog.log.level |
|
Syslog log level. See Log File Values. |
syslog.host |
|
Syslog host name. |
syslog.port |
|
Syslog port number. |
syslog.suffix | ${spring.application.name} |
Syslog suffix. Used to distinguish applications. |
trace.requests |
|
Adds the MDC value of |
Log File Values
Value | Description |
---|---|
|
Disables logging. |
|
Only error messages (the same as |
|
Application error messages that may affect processes. |
|
Unexpected application issues that may not affect processes. |
|
Expected activities. |
|
Triggers capture of |
|
Capture of |
|
All available log information (the same as |
Other Configuration Properties
Both Zoomdata-Web and Query Engine have properties you can adjust to suit your needs as well.
Zoomdata-Web
Name | Default Value | Description |
---|---|---|
activity.log.file.count |
|
Maximum number of activity log files . |
activity.log.file.size |
|
The maximum size of the activity log file in MB. When that size is reached, the file is renamed using this pattern: |
activity.logs.dir |
n/a | The location of the activity log file. If no location is specified, |
websocket.log.file.size |
|
The maximum size of the websocket log file in MB. When that size is reached, the file is renamed using this pattern: |
websocket.log.file.count |
|
Maximum number of websocket log files. |
websocket.log.level |
|
Overall maximum log level of websocket logs. |
websocket.file.level |
|
Maximum log level of websocket logs in the file. |
websocket.console.level |
|
Maximum log level of websocket logs in the console. |
access.log.file.size |
|
The maximum size of the access log file in MB. When that size is reached, the file is renamed using this pattern: |
license.log.file.size |
|
The maximum size of the license log file in MB. When that size is reached, the file is renamed using this pattern: |
Query Engine
Name | Default Value | Description |
---|---|---|
websocket.log.level |
|
Overall maximum log level of websocket logs. |
websocket.file.level |
|
Maximum log level of websocket logs in the file. |
websocket.console.level |
|
Maximum log level of websocket logs in the console. |
websocket.log.file.size |
|
The maximum size of the websocket log file in MB. When that size is reached, the file is renamed using this pattern: |
websocket.log.file.count |
1 |
Maximum number of websocket log files. |
access.log.file.size |
|
The maximum size of the access log file in MB. When that size is reached, the file is renamed using this pattern: |
slow-request.file.level |
|
Maximum log level of slow request logs in the file. |
slow-request.console.level |
OFF |
Maximum log level of slow request logs in the console. |
slow-request.log.file.size |
|
The maximum size of the slow requests log file in MB. When that size is reached, the file is renamed using this pattern: |
slow-request.log.file.count |
|
Maximum number of slow requests log files. |
slow-expression-parsing.file.level |
|
Maximum log level of slow expression parsing logs in the file. |
slow-expression-parsing.console.level |
|
Maximum log level of slow expression parsing logs in the console. |
slow-expression-parsing.log.file.size |
|
The maximum size of the slow expression parsing log file in MB. When that size is reached, the file is renamed using this pattern: |
slow-expression-parsing.log.file.count |
|
Maximum number of slow expression parsing log files. |
Set Logging Levels
Every logging level can be changed using a standard spring boot approach. Specify the corresponding property, as shown below.
Default Log File Names
Symphony's microservices each have a series of default log files where you can find captured events.
Name | Microservice | Description |
---|---|---|
|
Zoomdata-web |
Common logs. |
|
Zoomdata-web |
Only server error logs. |
|
Zoomdata-web |
Access logs. |
|
Zoomdata-web |
Activity audit logs. |
|
Zoomdata-web |
Websocket logs. |
|
Zoomdata-web |
Licensing related logs. |
|
Query Engine |
Common logs. |
|
Query Engine |
Only server error logs. |
|
Query Engine |
Access logs. |
|
Query Engine |
Websocket logs. |
|
Query Engine |
|
|
Query Engine |
|
|
Admin Service |
Common logs. |
|
Admin Service |
Only server error logs. |
|
Config Server |
Common logs. |
|
Config Server |
Only server error logs. |
|
Data-Writer |
Postgresql: Common logs. |
|
Data-Writer |
Postgresql: Only server error logs. |
|
Data-Writer |
MSSQL: Common logs. |
|
Data-Writer |
MSSQL: Only server error logs. |
|
Screenshot Service |
Common logs. |
|
Screenshot Service |
Only server error logs. |
|
EDC |
Common logs. |
|
EDC |
Only server error logs. |
Comments
0 comments
Please sign in to leave a comment.