1) Open a notepad.
2) .LOG at the first line in a notepad.
3) Save with any name.
4) Whenever you open the file, It will put the current date and time first and then put your logs after that.
This is true. This is general. Not in java. Give a try manual try first. And give a try with Java.
even i want to create a log file, iplz someone help me also. i tried .LOG, but its getting replaced every time a person logs in. i m making a project which contains a login file and i want to make a log file which can keep record of the person who logs in every time with date and time. the file should contain record of atleast one month i.e all the logins done in 1 month should be shown by that file.
plz help me out.
thanks in advance.