Skip to main content

Setting Easy-Tomcat Log

Comments

5 comments

  • cPanelMichael
    Hello :) The log4j.properties file indicates that maximum file size should be 10MB. Could you verify which particular log file has reached 3GB? Thank you.
    0
  • yoachan
    Dead Michael, Thank you for your reply, and sorry for my late reply. Here are log sizes as for now 532M catalina.err 2.2M catalina.out 497M localhost_access.log
    Basically catalina.err and localhost_access.log can reach Gigs, usually 2-3 GB each week. Regards, YoChan
    0
  • cPanelMichael
    Please open a support ticket so we can take a closer look. While Tomcat administration falls outside the scope of support, we should be able to determine if the default Tomcat logging configuration is working as intended. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • yoachan
    Dear Michael, Thank you for your suggestion. I have posted a ticket, and the ticket id is 5113103. Regards, YoChan PS. seems that I can't edit my previous post, and sorry for my greeting 'Dead Michael' which is supposed to be 'Dear Michael'.... My apologies
    0
  • yoachan
    Ok, just in case someone stuck with this kind of problem, here's what support (finnaly) said or conclude: [QUOTE] At least for the current version of Solr, I'm seeing the same thing you see, though it uses its own log4j.properties, and I believe it is overriding them with other means, since I still see INFO and other log types. Since Solr is not provided by cPanel, I recommend contacting Solr for support on this and a workaround since it looks to be using its own settings rather than what I set, and updates the properties file upon restarting the service.
    So, no luck from CPanel side.... with doubt though.... but that's the best answer I can get for now...
    0

Please sign in to leave a comment.