i have a problem with my java environement. I\'m running Solr 1.3 (search engine) since more then a year now and suddenly i got alot of trouble with it. All my thread pool
Flushing after each log record is going to expensive if you have very verbose logs.
A quality fix would be to clean up the logging, probably based around auditing.
As a quick fix, override StreamHandler.flush
or OutputStream.flush
to not do so immediately. Only flush once every so often. Note, however that you could potentially lose logging data immediately before a crash if you do this.