Here you can find the source of log(int physicalId, String message)
public static void log(int physicalId, String message)
//package com.java2s; //License from project: Open Source License import java.io.FileWriter; import java.io.IOException; import java.util.Date; public class Main { private static volatile boolean enabled = false; public static void log(int physicalId, String message) { if (enabled) log("[" + physicalId + "] " + message); }/* w ww . ja v a2 s .c om*/ public static synchronized void log(String message) { // System.out.println("should log " + message); if (enabled) { try { FileWriter fileWriter = new FileWriter("/tmp/pcj-ft-log", true); fileWriter.append(new Date().toString()).append(" ").append(message).append("\n"); fileWriter.close(); } catch (IOException e) { e.printStackTrace(); } } } }