public static void main(String[] args) {
File file = new File("D:/ALMR_access_log_L1_1.log");
BufferedReader reader = null;
try {
reader = new BufferedReader(new FileReader(file));
String temp = reader.readLine();
while(temp != null) {
System.out.println(temp);
temp = reader.readLine();
}
// System.out.println(temp);
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
reader.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}