Help with LOG

Jatin Shetty

Beta member
Messages
4
Location
INDIA
Hi,

Can anyone tell me how to use a "notepad" and keep a LOG of usage of that same LOG file??

I mean, by using ".LOG" inside the notepad it will display the date and time every time i access it. So can i keep a record of these usages in that notepad... or any other notepad...
 

berry120

Fully Optimized
Messages
3,434
Location
UK
Sorry, you'll have to explain what you're trying to do more clearly - are you trying to log each time anyone accesses a particular file?
 

root

Site Team
Staff member
Messages
8,181
Location
UK
change the name or your text file from .txt to .log

then addition come with a date each time you open the file.

if you want to log access you'll need to look at folder access audition.
right click the file, select properties.
go to the security tab, click advanced then look at the auditing tab, (and this is only available on certain versions of windows.)

then you can log in the security log (event viewer) each time a file the file is read/accessed/changed, each time someone unauthorised attempts to open the file etc.
 
Top