https://issues.apache.org/bugzilla/show_bug.cgi?id=52094
Bug #: 52094
Summary: Add InputStream API to
OptionConverter.selectAndConfigure and Configurator
Product: Log4j
Version: 1.2
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Configurator
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Add the ability to Configure from an InputStream, not just a URL.
The goal is to be able to configure from an Apache Commons VFS FileObject. The
only way to get the contents of a FileObject is to say
"getContents().getInputStream()"
We currently use this API:
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(URL, String,
LoggerRepository)
Which in turn calls the interface:
org.apache.log4j.spi.Configurator.doConfigure(URL, LoggerRepository)
There is no InputStream version of the API.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]