Hi,
My requirement, is just to append following one line to Log4C configuration(say log4c.config)
log4j.appender.LogFileAppender.File=[appdir]
appdir should have / instead of \
Can you please help me with this?
Background:
I have a c++ executable which make use of Log4C configuration file. In the Log4C configuration file I need to append one line
log4j.appender.LogFileAppender.File=[appdir]
I did this using "Edit Test File update"
This would append a line as c:\Logs\TelesTSP.log. this would not work with Log4C because it expects it as c:/Logs/TelesTSP.log (i.e / instead of \)
As a workaround, I tried "Edit Test File update" Find and replace feature. According to my understanding, this would change the whole file(and not just log4j.appender.LogFileAppender.File)
FOLLOW US
Get the latest news in Application Packaging