-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from xtuml/188_enhance_logging
188 enhance logging
- Loading branch information
Showing
28 changed files
with
388 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MASL_VERSION=4.4.3-logging | ||
MASL_VERSION=4.4.3-logging2 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MASL_VERSION=4.4.3-logging | ||
MASL_VERSION=4.4.3-logging2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# configure topics | ||
/opt/kafka/bin/kafka-configs.sh --alter --bootstrap-server kafka:9093 --topic JobManagement_service0 --add-config retention.ms=60000 | ||
/opt/kafka/bin/kafka-configs.sh --alter --bootstrap-server kafka:9093 --topic Protocol_Verifier_Reception --add-config retention.ms=60000 | ||
/opt/kafka/bin/kafka-configs.sh --alter --bootstrap-server kafka:9093 --topic Protocol_Verifier_InfoWarn --add-config retention.ms=6000000 | ||
/opt/kafka/bin/kafka-configs.sh --alter --bootstrap-server kafka:9093 --topic BenchmarkingProbe_service0 --add-config retention.ms=6000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Protocol Verifier Logger Configuration | ||
# | ||
# Notes: | ||
# | ||
# - Each logger has additivity FALSE so that the root logger does not | ||
# repeat to the console. | ||
# | ||
|
||
# Root logger logs to the console. | ||
log4cplus.rootLogger=FATAL, console | ||
|
||
# console logger | ||
log4cplus.appender.console=log4cplus::ConsoleAppender | ||
log4cplus.appender.console.layout=log4cplus::PatternLayout | ||
log4cplus.appender.console.layout.ConversionPattern=%d{%FT%T}Z - %m%n | ||
|
||
# hierarchical loggers | ||
log4cplus.logger.pv=INFO, pv_svk_appender | ||
log4cplus.additivity.pv=FALSE | ||
|
||
# domain loggers | ||
log4cplus.logger.pv.jm=INFO, pv_jmk_appender | ||
#log4cplus.logger.pv.jm=DEBUG, pv_jmk_appender, pv_debug_appender | ||
log4cplus.additivity.pv.jm=FALSE | ||
log4cplus.logger.pv.aeo=INFO, pv_svk_appender | ||
#log4cplus.logger.pv.aeo=DEBUG, pv_svk_appender, pv_debug_appender | ||
log4cplus.additivity.pv.aeo=FALSE | ||
log4cplus.logger.pv.sv=INFO, pv_svk_appender | ||
#log4cplus.logger.pv.sv=DEBUG, pv_svk_appender, pv_debug_appender | ||
log4cplus.additivity.pv.sv=FALSE | ||
log4cplus.logger.pv.istore=INFO, pv_svk_appender | ||
#log4cplus.logger.pv.istore=DEBUG, pv_svk_appender, pv_debug_appender | ||
log4cplus.additivity.pv.istore=FALSE | ||
log4cplus.logger.pv.vg=INFO, pv_svk_appender | ||
#log4cplus.logger.pv.vg=DEBUG, pv_svk_appender, pv_debug_appender | ||
log4cplus.additivity.pv.vg=FALSE | ||
log4cplus.logger.pv.fr=INFO, pv_svk_appender | ||
#log4cplus.logger.pv.fr=DEBUG, pv_svk_appender, pv_debug_appender | ||
log4cplus.additivity.pv.fr=FALSE | ||
|
||
# audit event logger | ||
# Enable by setting to INFO. | ||
log4cplus.logger.pv.vg.audit=FATAL, pv_vg_auditk_appender | ||
log4cplus.additivity.pv.vg.audit=FALSE | ||
|
||
# benchmarking logger | ||
# Enable by setting to INFO. Disable by setting to FATAL. | ||
log4cplus.logger.pv.benchmark=FATAL, pv_benchmark_appender | ||
log4cplus.additivity.pv.benchmark=FALSE | ||
|
||
log4cplus.appender.pv_jmk_appender=xtuml::KafkaAppender | ||
log4cplus.appender.pv_jmk_appender.topic=Protocol_Verifier_Statistics | ||
log4cplus.appender.pv_jmk_appender.layout=log4cplus::PatternLayout | ||
log4cplus.appender.pv_jmk_appender.layout.ConversionPattern=%d{%FT%T.%q}Z - %m%n | ||
|
||
log4cplus.appender.pv_svk_appender=xtuml::KafkaAppender | ||
log4cplus.appender.pv_svk_appender.topic=Protocol_Verifier_InfoWarn | ||
log4cplus.appender.pv_svk_appender.layout=log4cplus::PatternLayout | ||
log4cplus.appender.pv_svk_appender.layout.ConversionPattern=%d{%FT%T.%q}Z - %m%n | ||
|
||
#log4cplus.appender.pv_debug_appender=log4cplus::RollingFileAppender | ||
#log4cplus.appender.pv_debug_appender.File=/var/log/protocol_verifier/pv_debug.log | ||
#log4cplus.appender.pv_debug_appender.filters.1=log4cplus::spi::LogLevelRangeFilter | ||
#log4cplus.appender.pv_debug_appender.filters.1.LogLevelMax=DEBUG | ||
#log4cplus.appender.pv_debug_appender.filters.1.LogLevelMin=TRACE | ||
#log4cplus.appender.pv_debug_appender.AsyncAppend=TRUE | ||
#log4cplus.appender.pv_debug_appender.UseLockFile=TRUE | ||
#log4cplus.appender.pv_debug_appender.MaxFileSize=50MB | ||
#log4cplus.appender.pv_debug_appender.MaxBackupIndex=5 | ||
#log4cplus.appender.pv_debug_appender.layout=log4cplus::PatternLayout | ||
#log4cplus.appender.pv_debug_appender.layout.ConversionPattern=%d{%FT%T.%q}Z - %F:%L %m%n | ||
|
||
log4cplus.appender.pv_vg_auditk_appender=xtuml::KafkaAppender | ||
log4cplus.appender.pv_vg_auditk_appender.topic=Protocol_Verifier_VGateway | ||
log4cplus.appender.pv_vg_auditk_appender.layout=log4cplus::PatternLayout | ||
log4cplus.appender.pv_vg_auditk_appender.layout.ConversionPattern=%d{%FT%T.%q}Z - %m%n | ||
|
||
log4cplus.appender.pv_benchmark_appender=xtuml::KafkaAppender | ||
log4cplus.appender.pv_benchmark_appender.topic=BenchmarkingProbe_service0 | ||
log4cplus.appender.pv_benchmark_appender.layout=log4cplus::PatternLayout | ||
log4cplus.appender.pv_benchmark_appender.layout.ConversionPattern={"timestamp":"%d{%FT%T.%q}Z",%m} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.