To troubleshoot installation issues, the default log4j configuration is set to DEBUG. This can cause the log files to become quite large. Once your system is successfully installed and in use, you should drop the log levels down to INFO.
See Change the logging level on your site for how to do this.
If you still have a problem with over-large log files, you may want to set up log rotation. See Rotate TeamForge log files.