Issue
I'm using Tomcat9 as a server and I'm using Catalina.out
as my logger output "System.out"
and "System.error"
. I don't know every time I open and refresh the Catalina.out file, it gives out the weird output (as shown in picture below) and this output is keep increasing until more than million length. It makes slow loading to open the Catalina.out file. After this weird thing loaded, the logger output that I needed will be at the bottom of those things.
Opened Catalina.out
via notepad++ will have below output :
I expect the output doesn't give this weird annoying output.
Solution
I just found out that weird output will only happens when I delete all the Startup logger in Catalina.out.
Example of Startup logger :
. . {some logger} 08-Aug-2019 15:15:22.692 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [33,192] milliseconds
If I just leave it, it will not give the weird output again. So, I will close this issue.
Answered By - Mr Mie