package com.ejie.y42b.log;

public class Y42bLogConstants {
	
	private Y42bLogConstants(){}
	
	protected static final String INITSEPARATOR = "##| ";
	protected static final String ENDSEPARATOR = " |##";
	protected static final String FIELDSEPARATOR = " ~~ ";
	protected static final String EMPTYFIELD = " ";

	protected static final String DATETIME = "datetime";
	protected static final String IPADDRESS = "ipAddress";
	protected static final String APPCODE = "appCode";
	protected static final String SERVERINSTANCE = "serverInstance";
	protected static final String FUNCTIONALSUBSYSTEM = "functionalSubsystem";
	protected static final String INTERFUNCTIONALSUBSYSTEM = "interFunctionalSubsystem";
	protected static final String LOGGERCLASS = "loggerClass";
	protected static final String THREAD = "thread";
	protected static final String CRITICALITY = "criticality";
	protected static final String MESSAGE = "message";
	protected static final String ADITIONALINFO = "aditionalInfo";
	protected static final String INTERADITIONALINFO = "interAditionalInfo";

	public static final String NOINTERNALACCES = "noInternalAcces";
	public static final String ACCESSTYPEHTTP = "httpAcces";
	public static final String ACCESSTYPEEJB = "ejbAcces";

	public static final String USER = "user";
	public static final String POSITION = "position";
	public static final String SESSION = "session";
	public static final String[] parameters = { DATETIME, SESSION, IPADDRESS,
			USER, POSITION, APPCODE, SERVERINSTANCE, FUNCTIONALSUBSYSTEM,
			THREAD, LOGGERCLASS, CRITICALITY, MESSAGE, ADITIONALINFO };

	public static final String DATETIMEFORMAT = "yyyy/MM/dd HH:mm:ss:SSS";

	protected static final String DATASUBSYSTEM = "Data Subsystem";
	protected static final String LOGICSUBSYSTEM = "Logic Subsystem";
	protected static final String WEBSUBSYSTEM = "Web Subsystem";
	protected static final String INCIDENCESUBSYSTEM = "Incidence Subsystem";
	protected static final String TRACESUBSYSTEM = "Trace Subsystem";
}
