package main;

import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import org.apache.tomcat.util.Diagnostics;

public class tomcat {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Log log = LogFactory.getLog(tomcat.class);
		log.info("this is a info message from tomcat");
		log.debug("this is a debug message from tomcat");
		
		System.out.println(Diagnostics.getVMInfo());
	}
}

@@ -153,17 +153,16 @@
 omcat %7B%0A
-%0A
 %09public 
@@ -204,39 +204,178 @@
 %09// 
-TODO Auto-generated method stub
+Diagnostics();%0A%09%09%0A%09%09getProperty();%0A%09%7D%0A%09%0A%09public static void getProperty() %7B%0A%09%09System.out.println(System.getProperty(%22user.dir%22));%0A%09%7D%0A%09%0A%09public static void Diagnostics() %7B
 %0A%09%09L
@@ -568,13 +568,16 @@
 nfo());%0A
-
 %09%7D
+%0A%0A%09
 %0A%7D%0A

add tomcat