代码搜索结果
找到约 10,000 项符合
J 的代码
log4j.properties
# This is the configuring for logging displayed in the Application Server
log4j.rootCategory=INFO, stdout
# Replace the line above if you want to put a log file into the directory
# you start Tom
log4j.properties
log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p %
j2meunitmidlet.java
package mymidlet;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class J2MEUnitMidlet extends MIDlet {
public J2MEUnitMidlet(
sspplog4j.properties
##########sspp Log4j##############
log4j.appender.ssppFile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.ssppFile.DatePattern='.'yyyy-MM-dd
#config the path of the file
log4j.appender
log4j.properties
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
l
sspplog4j.properties
##########sspp Log4j##############
log4j.appender.ssppFile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.ssppFile.DatePattern='.'yyyy-MM-dd
#config the path of the file
log4j.appender
testlog4j.java
package edu.neu.sspp.test;
import edu.neu.sspp.SSPPLogger;
public class TestLog4j {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stu
sspplog4j.java
package edu.neu.sspp;
import org.apache.log4j.Level;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.apache.log4j.Priority;
public class SSPPLog4j {
//singlet
sspplog4j.properties
##########sspp Log4j##############
log4j.appender.ssppFile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.ssppFile.DatePattern='.'yyyy-MM-dd
#config the path of the file
log4j.appender