Create Quick Dated Logs with Notepad’s .LOG and F5 Timestamp in Windows 10/11

Create Quick Dated Logs with Notepad’s .LOG and F5 Timestamp in Windows 10/11​

Difficulty: Beginner | Time Required: 10 minutes
Need a quick way to keep a dated record of events, troubleshooting notes, phone calls, work tasks, or system changes? Windows Notepad has a simple built-in trick that many users overlook: if you start a text file with .LOG, Notepad can automatically add the current date and time each time you open that file. You can also press F5 inside Notepad to insert a timestamp manually whenever you want.
This is perfect for lightweight logging without installing extra software. It works well for personal notes, PC maintenance records, support call logs, daily task tracking, or quick “what changed and when” documentation.

Prerequisites​

Before you begin, you only need:
  1. A Windows 10 or Windows 11 PC.
  2. The built-in Notepad app.
  3. Permission to save a text file in your chosen folder, such as Documents or Desktop.
Note: Notepad is included with Windows 10 and Windows 11. The app may look slightly different depending on your Windows version and Notepad updates. For example, Windows 11 Notepad may include tabs and modern styling, but the basic logging method is the same.

Part 1: Create an Automatic .LOG File​

Follow these steps to create a Notepad file that automatically inserts a timestamp when opened.

1. Open Notepad​

  1. Click Start.
  2. Type Notepad.
  3. Select Notepad from the search results.
You can also press Windows key + R, type notepad, and press Enter.

2. Type .LOG on the First Line​

At the very top of the blank Notepad document, type:
.LOG
Make sure:
  1. .LOG is on the first line.
  2. There are no spaces before .LOG.
  3. You use a period before LOG.
  4. You press Enter after typing it.
Your file should look like this:
Code:
.LOG
The blank line below .LOG is where your first note can begin.
Important: The .LOG instruction must be the first line of the file. If you put text, spaces, or blank lines before it, Notepad may not treat the file as an automatic log.

3. Add Your First Log Entry​

Below the .LOG line, type a short note. For example:
Code:
.LOG

Created this log to track printer troubleshooting.
You do not need to type the date manually yet. The automatic timestamp will appear the next time you open the saved file.

4. Save the File​

  1. Click File.
  2. Select Save As.
  3. Choose a convenient location, such as Documents or Desktop.
  4. Enter a descriptive file name.
For a normal text file, you can use a name such as:
Printer Troubleshooting Log.txt
If you prefer to use a .log file extension, type something like:
PrinterTroubleshooting.log
Then change Save as type to All files before saving. Otherwise, Notepad may save it as PrinterTroubleshooting.log.txt.
  1. Click Save.
Tip: The automatic logging feature depends on .LOG being the first line inside the file. The file extension can be .txt or .log, but using .log can make the purpose of the file clearer.

Part 2: Test the Automatic Timestamp​

Now let’s confirm that the log works.

1. Close Notepad​

After saving the file, close Notepad completely.

2. Reopen the File​

Find the file you saved and double-click it.
When the file opens, Notepad should automatically add the current date and time near the end of the file, placing your cursor after the timestamp so you can begin typing the next entry.
Your file may now look similar to this:
Code:
.LOG

Created this log to track printer troubleshooting.

5:42 PM 5/28/2026
The exact format depends on your Windows regional date and time settings.

3. Type Your New Entry​

After the timestamp, type your next note. For example:
Code:
5:42 PM 5/28/2026
Restarted the print spooler service and tested printing again.

4. Save Your Changes​

Press Ctrl + S or select File > Save.
Note: The timestamp is inserted when the saved log file is opened. If you keep the file open all day, Notepad will not automatically add new timestamps unless you reopen the file or manually insert one with F5.

Part 3: Insert a Timestamp Manually with F5​

Sometimes you may want to add a timestamp without closing and reopening the file. That is where F5 comes in.

1. Place the Cursor Where You Want the Timestamp​

Click in the Notepad document where the date and time should appear.
For example, you might place the cursor on a new blank line after your last note.

2. Press F5​

Press F5 on your keyboard.
Notepad inserts the current time and date at the cursor position.

3. Add Your Note​

After the timestamp, type your entry:
Code:
6:15 PM 5/28/2026
Confirmed the printer works after reboot.
Laptop Tip: On some laptops, the function keys are shared with brightness, volume, or media controls. If pressing F5 does not insert a timestamp, try Fn + F5 instead. Some keyboards also have an Fn Lock setting that changes how the function keys behave.

Practical Uses for Notepad Logs​

This small feature can be surprisingly useful. Here are a few ideas:
  1. Troubleshooting records
    Track what you changed, when you changed it, and what happened afterward.
  2. Software installation notes
    Record when you installed, updated, removed, or reconfigured programs.
  3. Daily work journal
    Keep a simple timeline of tasks completed throughout the day.
  4. Phone or support call notes
    Log when a call started, who you spoke with, and what was discussed.
  5. System maintenance history
    Track driver updates, Windows updates, restarts, cleanup tasks, and error messages.
  6. Home or office checklists
    Create a dated record for inspections, backups, inventory checks, or routine tasks.

Tips for Better Logs​

Use Clear Entry Titles​

Instead of writing long paragraphs with no structure, add short labels:
Code:
9:10 AM 5/28/2026
Issue: Wi-Fi disconnects after sleep.

9:25 AM 5/28/2026
Action: Updated wireless adapter driver.
This makes the log easier to scan later.

Keep One Log per Topic​

Rather than placing everything in one giant file, create separate logs such as:
Code:
NetworkLog.txt
PrinterLog.txt
WindowsUpdateLog.txt
ClientCallLog.txt
This helps you find information quickly.

Save Logs Somewhere Easy to Back Up​

Good locations include:
  1. Documents
  2. OneDrive
  3. A project folder
  4. A shared support folder, if appropriate for your environment
Warning: Avoid storing sensitive passwords, license keys, personal information, or confidential business data in plain text Notepad files. Standard .txt and .log files are not encrypted.

Use Ctrl + S Often​

Notepad files are simple and fast, but you should still save regularly. Press Ctrl + S after adding important entries.

Troubleshooting​

The Timestamp Does Not Appear Automatically​

Check the following:
  1. Is .LOG on the very first line?
  2. Is it typed exactly as .LOG?
  3. Did you save and close the file before reopening it?
  4. Are there spaces or blank lines before .LOG?
  5. Are you opening the saved file, not an unsaved Notepad tab?
If needed, create a fresh file and test with only:
.LOG
Save it, close it, and reopen it.

F5 Does Not Insert the Date and Time​

Try these fixes:
  1. Click inside the Notepad editing area first.
  2. Try Fn + F5 on a laptop.
  3. Check whether your keyboard has Fn Lock enabled.
  4. Make sure another app or keyboard utility is not intercepting the F5 key.

My .log File Became .log.txt

This usually happens when saving with Notepad’s default text file setting.
To save with a true .log extension:
  1. Select File > Save As.
  2. Type the full file name, such as Maintenance.log.
  3. Change Save as type to All files.
  4. Click Save.

Conclusion​

Notepad’s .LOG and F5 timestamp features are simple, fast, and built into Windows 10 and Windows 11. They are ideal when you need a quick dated record without setting up a database, spreadsheet, or dedicated note-taking app. With just a few keystrokes, you can create a reliable timeline of events, actions, and observations.
Key Takeaways:
  • Type .LOG on the first line of a Notepad file to create an automatic timestamp log.
  • Reopening the saved file adds the current date and time near the end of the log.
  • Press F5 in Notepad to insert a timestamp manually at the cursor position.
  • Use separate logs for different topics to stay organized.
  • Avoid storing sensitive information in plain text log files.

This tutorial was generated to help WindowsForum.com users get the most out of their Windows experience.
Reference verification, not part of the article body: Microsoft Support documents that Notepad applies to Windows 10 and Windows 11 and that placing .LOG on the first line creates a log file that appends the current date and time when opened. (support.microsoft.com)

References​

  1. Official source: support.microsoft.com
  2. Official source: learn.microsoft.com
  3. Official source: microsoft.com
  4. Official source: techcommunity.microsoft.com
  5. Official source: hs.windows.microsoft.com
  6. Related coverage: tech-recipes.com
  1. Official source: answers.microsoft.com
  2. Related coverage: speakeasysolutions.com
  3. Related coverage: tutorialtactic.com
  4. Related coverage: lifecycle365.com
  5. Related coverage: sperrysoftware.com
  6. Related coverage: brcinstitute.com
 

Back
Top