Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
tuned
log_initialize_explicitly_with_int.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File log_initialize_explicitly_with_int.patch of Package tuned
From: Jaroslav Škarvada <jskarvad@redhat.com> Subject: log: initialize maxBytes, backupCount in RotatingFileHandler explicitly with int References: bsc#1126609 Patch-Mainline: v2.11.0-rc.1 Git-commit: 98c3707851c9989e7faae6e50e9b3a93859ad001 Git-repo: https://github.com/openSUSE/tuned.git Fixes: #148 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com> Signed-off-by: Thomas Renninger <trenn@suse.com> --- tuned/logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tuned/logs.py +++ b/tuned/logs.py @@ -82,7 +82,7 @@ os.makedirs(log_directory) cls._file_handler = logging.handlers.RotatingFileHandler( - filename, maxBytes = maxBytes, backupCount = backupCount) + filename, maxBytes = int(maxBytes), backupCount = int(backupCount)) cls._file_handler.setFormatter(cls._formatter) logging.setLoggerClass(TunedLogger)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor