Hi All,
Logger statements are printed twice but the code executes only once. Any idea on this?
I verified in local Windows stand-alone and Cloudfront servers that also same issue logger statements are printing 2 times.
AEM: 6.5.13.0
Regards,
Shyam
Solved! Go to Solution.
Views
Replies
Total Likes
Since in your project, the log is pointing to error.log it actually did this->
Hello @shyamasundar-ks ,
I hope you are not watching error logs from logs/error.log
In your project make sure the log file is different,
One copy of the log will be written by sling in error.log.
Hi @Sady_Rifat ,
Thanks for the reply, Yes I am referring to logs/error.log. But in my previous experience, I have never come across like this even though I used to refer logs/error.log.
Please can you brief me more about why 2 times printing in error.log? It will be helpful for me to understand better and I can convey to the team about this.
Since in your project, the log is pointing to error.log it actually did this->
@shyamasundar-ks Did you find the suggestions from Sady helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Likes
Replies