}
public synchronized static void logCallStack(CallStackTraceBuilderState callStackState) {
//Only calls originating from a Frontend class is sent to the Manager
//if (callStackState.getClassType().equalsIgnoreCase("Frontend") || callStackState.getClassType().equalsIgnoreCase("Frontends")) {
CallStack topLevelCallStack = callStackState.getCallStack();
StringBuffer sb = new StringBuffer();
sb.append("CallStacktrace: ").append(topLevelCallStack.getThreadName()).append("(").append(topLevelCallStack.getThreadid()).append(") ");
sb.append(System.getProperties().getProperty("org.eurekaJ.agentName")).append(" ").append(callStackState.getClassType()).append(" ");
sb.append(callStackState.getPath()).append(" ").append(callStackState.getClassName()).append(" ").append(callStackState.getMethodName()).append(" ");
sb.append(callStackState.getStartTimestamp()).append(" ").append(callStackState.getStopTimestamp()).append(";");
sb.append(recursiveCallStackLogger(topLevelCallStack, 1));
appendToBuffer(sb.toString());