You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To me it seems like includeModelHandler.buildModelFromIncludedFile(this, includeModel) uses an XML parser internally and the referenced xml file is probably also allowed to use conditions which then also requires Janino (an issue with GraalMV).
Is there any way to configure logback-tyler so that it also resolves and translates included files?
Versions:
logback-classic: 1.5.11
logback-tyler: 0.9
The text was updated successfully, but these errors were encountered:
I have modified the generated code to have an include() method the contents of which are very similar to the code you mention above.
Please note at translation time logback-tyler usually does not have access to the included file.
It follows that the code in include() method produced by logback-tyler falls back to invoking logback-classic's default configurator, i.e. JoranConfigurator which will invoke an XML parser in the process.
If you wish to avoid calling JoranConfigurator, then you can insert the contents of the included XML file into the containing file manually before performing the logback-tyler translation.
Also note that PropertiesConfigurator introduced in version 1.5.8, allows for setting logger levels via a properties file. The location of properties files can be specified as a file path as well a URL via HTTP or HTTPS protocols. Watching files and reconfiguration upon change is also supported. Logback-tyler supports PropertiesConfigurator.
The logback-tyler readme claims that:
However,
<include resource="logback-console-appender.xml"/>
is translated to:To me it seems like
includeModelHandler.buildModelFromIncludedFile(this, includeModel)
uses an XML parser internally and the referenced xml file is probably also allowed to use conditions which then also requires Janino (an issue with GraalMV).Is there any way to configure logback-tyler so that it also resolves and translates included files?
Versions:
The text was updated successfully, but these errors were encountered: