User: fleury
Date: 00/09/27 18:17:12
Modified: src/main/org/jboss/util ClassPathExtension.java Info.java
Log:
Update logging
Revision Changes Path
1.4 +6 -6 jboss/src/main/org/jboss/util/ClassPathExtension.java
Index: ClassPathExtension.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/util/ClassPathExtension.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ClassPathExtension.java 2000/06/16 13:10:32 1.3
+++ ClassPathExtension.java 2000/09/28 01:17:11 1.4
@@ -19,7 +19,7 @@
*
* @see <related>
* @author Rickard �berg ([EMAIL PROTECTED])
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class ClassPathExtension
implements ClassPathExtensionMBean, MBeanRegistration
@@ -68,7 +68,7 @@
if (files[i].endsWith(".jar") || files[i].endsWith(".zip"))
{
URL file = new File(dir, files[i]).getCanonicalFile().toURL();
- log.log("Added library:"+file);
+ log.debug("Added library:"+file);
mlet.addURL(file);
found++;
@@ -82,11 +82,11 @@
{
URL u = new
URL(getClass().getProtectionDomain().getCodeSource().getLocation(),url);
mlet.addURL(u);
- log.log("Added directory:"+u);
+ log.debug("Added directory:"+u);
} catch (MalformedURLException e)
{
mlet.addURL(new File(url).toURL());
- log.log("Added directory:"+url);
+ log.debug("Added directory:"+url);
}
}
} catch (Throwable ex)
@@ -99,11 +99,11 @@
{
URL u = new
URL(getClass().getProtectionDomain().getCodeSource().getLocation(),url);
mlet.addURL(u);
- log.log("Added library:"+u);
+ log.debug("Added library:"+u);
} catch (MalformedURLException e)
{
mlet.addURL(new File(url).toURL());
- log.log("Added library:"+url);
+ log.debug("Added library:"+url);
}
}
1.2 +2 -1 jboss/src/main/org/jboss/util/Info.java
Index: Info.java
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/util/Info.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Info.java 2000/04/22 14:30:13 1.1
+++ Info.java 2000/09/28 01:17:11 1.2
@@ -19,7 +19,7 @@
*
* @see <related>
* @author Rickard �berg ([EMAIL PROTECTED])
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class Info
implements InfoMBean, MBeanRegistration
@@ -43,6 +43,7 @@
log.log("Java VM: "+System.getProperty("java.vm.name")+"
"+System.getProperty("java.vm.version")+","+System.getProperty("java.vm.vendor"));
log.log("System: "+System.getProperty("os.name")+"
"+System.getProperty("os.version")+","+System.getProperty("os.arch"));
+ // MF TODO: say everything that needs to be said here: copyright, included
libs and TM, contributor and (C) jboss org 2000
return new ObjectName(OBJECT_NAME);
}