Actions
Bug #8667
closedRandomly appearing "\" character in long string parameters
Description
This issue is happening with long string puppet class parameter.
Here is the string I'm trying to set in a parameter:
<logger name="com.workit" additivity="false"> <level value="DEBUG" /> <appender-ref ref="APPLICATION_LOG_FILE" /> </logger>
I'm using space indentation there (note that it's important).
Here is the result in the host yaml:
logback: configuration: ! "<logger name=\"com.workit\" additivity=\"false\">\r\n <level value=\"DEBUG\" />\r\n <appender-ref ref=\"APPLICATION_LOG_FILE\" />\r\n \ </logger>"
See the "\" before the </logger>? Breaking the configuration.
Now, if I try with tab-indentation the same parameter, here is the host yaml output:
logback: configuration: ! "<logger name=\"com.workit\" additivity=\"false\">\r\n\t\t<level value=\"DEBUG\" />\r\n\t\t<appender-ref ref=\"APPLICATION_LOG_FILE\" />\r\n\t</logger>"
I've setup the priority to HIGH as it's a breaking service configuration issue.
Actions