A Gedit Plugin For Creating Log-type File | Alternative to Notepad's .LOG Feature | UbuntuCafe

A Gedit Plugin For Creating Log-type File | Alternative to Notepad's .LOG Feature

Notepad in Microsoft's Windows has a powerful feature that can be used to make log files whenever I saved a file with ".LOG" in the first line. So I just created an alternative Gedit plugin for creating the same that appends the current date and time if the file contains '.LOG' in the first line. 

I have attached two files. Please download and copy both files to ~/.local/share/gedit/plugins/ (create it if does not exist) or /usr/lib/gedit/plugins/



Activate the plugin

Open Gedit, goto Edit --> Preferences --> Plugins  and enable checkbox to activate this plugin. 

Please note that this plugin only works with Gedit version 3.

Before you download the file, you may want to check the Virustotal results.


Virus scan : File1
Virus scan : File2

Gedit_timestamp_log.py
Gedit_timestamp_log.plugin