From: cvs@openprivacy.orgCVS update: talon/src/java/talon/implementations
Date: Tuesday January 16, 19101 @ 8:10
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/implementations
-----------------------------------
Update of /usr/local/cvsroot/talon/src/java/talon/implementations
In directory openprivacy.org:/tmp/cvs-serv18658/src/java/talon/implementations
Modified Files:
SimpleLogger.java
Log Message:
...
*****************************************************************
File: talon/src/java/talon/implementations/SimpleLogger.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/implementations/SimpleLogger.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/implementations/SimpleLogger.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/implementations/SimpleLogger.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: talon/src/java/talon/implementations/SimpleLogger.java
diff -u talon/src/java/talon/implementations/SimpleLogger.java:1.1 talon/src/java/talon/implementations/SimpleLogger.java:1.2
--- talon/src/java/talon/implementations/SimpleLogger.java:1.1 Tue Jan 16 08:06:30 2001
+++ talon/src/java/talon/implementations/SimpleLogger.java Tue Jan 16 08:10:20 2001
@@ -30,7 +30,7 @@
* - stderr -> If true, log to stderr
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public class SimpleLogger extends BaseComponent implements Component, Logger {
@@ -40,7 +40,7 @@
public static final String INIT_PROPERTY_STDERR = "stdout";
public static final String INIT_PROPERTY_STDOUT = "stdout";
- public static final String INIT_PROPERTY_PROJECT = "projects";
+ public static final String INIT_PROPERTY_PROJECT = "project";
/**
* Set this to false if we have any problems with output to a file.
@@ -73,7 +73,7 @@
*
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void init() throws TalonException {
@@ -99,7 +99,7 @@
* Log a message
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void message( String message ) {
message( null, message );
@@ -109,17 +109,17 @@
* Log a message
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void message( Object source, String message ) {
- logString( null, getLogPrefix() + " -> " + message );
+ logString( source, getLogPrefix() + " -> " + message );
}
/**
* Log an error
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void error( String message ) {
error( null, message );
@@ -129,7 +129,7 @@
* Log an error
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void error( Object source, String message ) {
logString( source, getLogPrefix() + " -> ERROR: " + message );
@@ -140,7 +140,7 @@
* Log a warning
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void warning( String message ) {
warning( null, message );
@@ -150,7 +150,7 @@
* Log a warning
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void warning( Object source, String message ) {
logString( source, getLogPrefix() + " -> WARNING: " + message );
@@ -160,7 +160,7 @@
* Log a debug message
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void debug( String message ) {
debug( null, message );
@@ -170,7 +170,7 @@
* Log a debug message
*
* @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
public void debug( Object source, String message ) {
@@ -183,7 +183,7 @@
/**
* @see #logString
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
private void logString( String s ) {
logString( null, s);
@@ -194,7 +194,7 @@
*
* @param source Object source where this was logged from
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
private void logString( Object source, String s ) {
@@ -247,7 +247,7 @@
* Get the prefix for log output.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
private String getLogPrefix() {
return this.project + " [" + this.getDate() + "]";
@@ -259,7 +259,7 @@
* Determine if it is OK to log to disk
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
private boolean isFileEnabled() {
@@ -302,7 +302,7 @@
* Get the date/time in a nice format for logging.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SimpleLogger.java,v 1.1 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: SimpleLogger.java,v 1.2 2001/01/16 16:10:20 burton Exp $
*/
private String getDate() {
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:15 PST