I notice that errors logs can easily (few hours) reach more than 30Gb on HD when there is some wrong configuration.
I'm afraid about that, is there some way to handle the logs storage? I mean, purge them periodically?
Check your log4j.xml file. The "logfile" appender can be changed from a org.apache.log4j.DailyRollingFileAppender to a org.apache.log4j.RollingFileAppender and a "maxBackupIndex" set. See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html
It works fine, also I commented out the "DatePattern" param since it's no longer used.