Mango Community
Search
Recent Topics
Hottest Topics
Member Listing
Back to home page
Register
/
Login
Error Logs
Forum Index
»
How-To
Author
Message
13/09/2010 16:31:44
Subject:
Error Logs
ftomiBR
Initiate
Joined: 12/07/2010 10:43:59
Messages: 53
Offline
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?
Best Regards
Tommy
14/09/2010 10:31:18
Subject:
Re:Error Logs
mlohbihler
Master
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
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
Best regards,
Matthew Lohbihler
14/09/2010 11:35:46
Subject:
Re:Error Logs
ftomiBR
Initiate
Joined: 12/07/2010 10:43:59
Messages: 53
Offline
It works fine, also I commented out the "DatePattern" param since it's no longer used.
Thank you!
Best Regards
Tommy
Forum Index
»
How-To
Go to:
Select a forum
Mango Automation
DGLux Graphic Dashboards
Announcements
Mango Automation general Discussion
User help
How-To
Mango Automation Installation
Stories
Mango feedback
Hardware
Wishlist
Mango M2M 1.12.5 and Earlier general discussion
Mango M2M 1.12.5 and earlier installation
Development general discussion
Scripting general Discussion
Modbus4J general discussion
BACnet4J general discussion
Powered by
JForum 2.1.9
©
JForum Team