Skip to content

Commit

Permalink
Merge pull request #18 from Traceableai/ENG-36756-add-logging-proto
Browse files Browse the repository at this point in the history
ENG-36756: add logging config
  • Loading branch information
kaushal02 committed Dec 19, 2023
2 parents d9705f4 + 13ac250 commit ca69f0d
Show file tree
Hide file tree
Showing 4 changed files with 455 additions and 155 deletions.
5 changes: 5 additions & 0 deletions ENV_VARS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ Agents can be configured using environment variables:
| TA_API_DISCOVERY_ENABLED | |
| TA_SAMPLING_ENABLED | |
| TA_JAVAAGENT_IMPORT_JKS_CERTS | Set this flag to export certificates configured in JKS to libtraceable for making HTTPS connection to TPA. |
| TA_LOGGING_MODE | Logging mode. Allowed values are none, stdout, file. |
| TA_LOGGING_LEVEL | Logging level. Allowed values are trace, debug, info, warn, error, critical. |
| TA_LOGGING_LOG_FILE_MAX_FILES | Maximum number of log files to keep |
| TA_LOGGING_LOG_FILE_MAX_FILE_SIZE | Maximum file size of the log files. Default value is 10485760 (10MB). |
| TA_LOGGING_LOG_FILE_FILE_PATH | File path for the log file. Default value is /var/traceable/log/libtraceable.log |

0 comments on commit ca69f0d

Please sign in to comment.