There is an issue we are facing in production environment. The File generated using log4j is getting appended with some special characters at the start of file, before starting to log. This is resulting in a binary file which is making tools like Splunk not able to access these files as it is expecting text files.
Please help me what could be the issue here.