[Jukebox-cvs] CVS update: J4/src/java/gnu/j4/core Logger.java
Brought to you by:
vtt
From: CVS B. <vt...@fr...> - 2000-09-13 19:38:50
|
User: vt Date: 00/09/13 12:38:37 Modified: src/java/gnu/j4/core Logger.java Log: Activated the changes - who would want to see the empty log? :) Revision Changes Path 1.18 +4 -1 J4/src/java/gnu/j4/core/Logger.java CVSWEB Options: ------------------- CVSWeb: Annotate this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/core/Logger.java?annotate=1.18&cvsroot=jukebox4 CVSWeb: View this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/core/Logger.java?rev=1.18&content-type=text/x-cvsweb-markup&cvsroot=jukebox4 CVSWeb: Diff to previous version: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/core/Logger.java.diff?r1=1.18&r2=1.17&cvsroot=jukebox4 ----------------------------------- Index: Logger.java =================================================================== RCS file: /usr/local/cvs/J4/src/java/gnu/j4/core/Logger.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Logger.java 2000/06/20 06:35:45 1.17 +++ Logger.java 2000/09/13 19:38:37 1.18 @@ -9,7 +9,7 @@ * Performs the message logging in the background, with a minimal priority. * * @author Copyright © <a href="mailto:vt...@fr...">Vadim Tkachenko</a> 1995-2000 - * @version $Id: Logger.java,v 1.17 2000/06/20 06:35:45 vt Exp $ + * @version $Id: Logger.java,v 1.18 2000/09/13 19:38:37 vt Exp $ * @since Jukebox v4 */ public class Logger extends Thread implements LogLevels, LogConfigKeywords { @@ -198,6 +198,8 @@ System.exit(1); } + syslog.open(); + maxage = conf.getLong(SYSLOG_QUEUE_MAXAGE, 5000); maxsize = conf.getInteger(SYSLOG_QUEUE_MAXSIZE, 1000); @@ -274,6 +276,7 @@ LOG_LOGGER, "interrupted, terminating", null)); + syslog.close(); theLogger = null; return; } |