1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00
Files
mariadb-columnstore-engine/cmapi/cmapi_server/cmapi_logger.conf
Leonid Fedorov e2367a9495 CI from develop + cmapi [develop-23.02] (#2863)
* MCOL-5496: Merge CMAPI code to engine repo.

[add] cmapi code to engine

* MCOL-5496: Fix CI adding CMAPI steps.

[fix] deb packages deps commands
[add] several additional local variables
[fix] packages url
[fix] smoke step
[fix] mtr step
[fix] regression step
[add] cmapipython, cmapibuild, cmapitest and cmapilog steps
[fix] dockerfile step
[fix] build step to include cmapi package on repodata creating
[fix] multi_node_mtr step
[fix] pkg step
[add] cmapi steps to pipelines
[fix] cmapi/CMakeLists.txt to prevent cmake byte-compile .py files for rpm packages
[add] setup-repo.sh file
[fix] now use packages from the repos in tests steps

* Adding color 2 build script

* Build script and logging scripts from develop

* Remove test 222 from full regression, it is missing in 23.02 regression set

---------

Co-authored-by: mariadb-AlanMologorsky <alan.mologorsky@mariadb.com>
Co-authored-by: mariadb-RomanNavrotskiy <roman.navrotskiy@mariadb.com>
2023-06-09 17:36:17 +03:00

84 lines
2.5 KiB
Plaintext

{
"version": 1,
"filters": {
"add_ip_filter": {
"()": "cmapi_server.logging_management.AddIpFilter"
}
},
"formatters": {
"cmapi_server": {
"format": "%(asctime)s [%(levelname)s] (%(name)s) {%(threadName)s} %(ip)s %(message)s",
"datefmt": "%d/%b/%Y %H:%M:%S"
},
"default": {
"format": "%(asctime)s [%(levelname)s] (%(name)s) {%(threadName)s} %(message)s",
"datefmt": "%d/%b/%Y %H:%M:%S"
},
"container_sh": {
"format" : "`%(asctime)s`: %(message)s",
"datefmt": "%a %d %b %Y %I:%M:%S %p %Z"
}
},
"handlers": {
"cmapi_server": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"filters": ["add_ip_filter"],
"formatter": "cmapi_server",
"stream": "ext://sys.stdout"
},
"console": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "default",
"stream": "ext://sys.stdout"
},
"file": {
"level": "DEBUG",
"class": "logging.handlers.RotatingFileHandler",
"formatter": "default",
"filename": "/var/log/mariadb/columnstore/cmapi_server.log",
"mode": "a",
"maxBytes": 1048576,
"backupCount": 10,
"encoding": "utf8"
},
"container_sh_file": {
"level": "DEBUG",
"class": "logging.handlers.RotatingFileHandler",
"formatter": "container_sh",
"filename": "/var/log/mariadb/columnstore/container-sh.log",
"mode": "a",
"maxBytes": 1024,
"backupCount": 3,
"encoding": "utf8"
}
},
"loggers": {
"cherrypy.access": {
"handlers": ["console", "file"],
"level": "INFO",
"propagate": false
},
"cherrypy.error": {
"handlers": ["console", "file"],
"level": "INFO",
"propagate": false
},
"cmapi_server": {
"handlers": ["cmapi_server", "file"],
"level": "DEBUG",
"propagate": false
},
"container_sh": {
"handlers": ["file", "container_sh_file"],
"level": "DEBUG",
"propagate": false
},
"": {
"handlers": ["console", "file"],
"level": "DEBUG"
}
}
}