Bug 437434 - Make the logback configuration available at runtime
Summary: Make the logback configuration available at runtime
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders.incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ashwin Jha CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 05:15 EDT by Marcel Bruch CLA
Modified: 2019-07-24 14:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bruch CLA 2014-06-14 05:15:51 EDT
It would be great if clients could get (i) access to the runtime configuration of the Logback system and (ii) manipulate it.

Manipulations may include setting the loglevel of certain loggers to debug, error etc., adding or removing appenders at runtime and the like.

My current idea it to make the configuration available through the LogbackService OSGI service located in o.e.r.logging.
Comment 1 Ashwin Jha CLA 2014-08-03 04:34:07 EDT
Changing log level implemented. Working on addition/updation of appenders.
Comment 2 Ashwin Jha CLA 2014-08-14 16:55:35 EDT
A config object is passed to the client plugin that it can use to access and manipulate logback configuration.

Currently, log level change, appender manipulation is implemented. Further features can be added or modified as per suggestions from the community.