|
|
Choosing A Webhost: |
Re: Disable logging?: msg#00001db.squirrel-sql.users
On Nov 30, 2007 8:56 PM, Bill <squirrel@xxxxxxxxxx> wrote: > Is there a way to disable logging or prevent the log file from growing > indefinitely? > By default SQuirreL uses a DailyRollingFileAppender log4j appender in log4j.properties and sets the frequency of roll-over to weekly using the pattern: '.'yyyy-ww So it shouldn't be growing indefinitely. However, if you would like it to rollover more frequently than once a week, that is possible according to this document: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html '.'yyyy-MM-dd Rollover at midnight each day. '.'yyyy-MM-dd-a Rollover at midnight and midday of each day. '.'yyyy-MM-dd-HH Rollover at the top of every hour. '.'yyyy-MM-dd-HH-mm Rollover at the beginning of every minute. Rob ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Disable logging?, Bill |
|---|---|
| Next by Date: | Sybase: Incorrect syntax near 'go'., David A. |
| Previous by Thread: | Disable logging?, Bill |
| Next by Thread: | Sybase: Incorrect syntax near 'go'., David A. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |