Web Log Generator Plugin
Matt Hopkins posted in Web Log Files on March 11th, 2007
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
I have updated that script for generating daily web logs and turned it into a fully working wordpress plugin.
To install the plugin just download it from here - Web Log Generator.
Then unzip it into your plugins directory /wp-content/plugins. You will need to edit logger.php and define the location of where your logs should be kept. This location will need to have 777 permissions but does not need to be in your public_html or http directory.
Then activate the plugin in your administration area of your website. When you activate it the screen will go blank, thats quite normal.
Have a wander around your website then check the location of your log files to see if one has been created, assuming a log file has been created then just sit and wait for your logs to start filling up.
If you have any problems then please just add a comment to this post and I will reply with either a solution or a fix.
Edit:
The latest version (ver 2.0) of this script can be downloaded here http://www.webanalyticmatt.com/2007/03/30/web-log-generator-plugin-version-2/









March 12th, 2007 at 1:59 pm
[…] Web Log Generator creates daily web logs containing IP address, request, referrer, date/time stamp and useragent. Can be used in conjunction with a web log analyser. […]
March 12th, 2007 at 5:28 pm
I do have a question: is there a log viewer, or do I download the log with FTP?
March 12th, 2007 at 10:27 pm
Can you point to an example of this plugin in operation? I like to see before I install. Successful examples may also increase the download rate. Thanks.
March 13th, 2007 at 6:33 am
[…] Web Log Generator erstellt tägliche Logs mit IP Adresse, Anfrage, Referer, Datum-/Zeitstempel und Useragent. Kann im Zusammenhang mit einem Analysetool verwendet werden. […]
March 13th, 2007 at 7:44 am
when i tryed to instal the plugin, i got his error msg, “Cant open file”, in a blank white page, after that all my site went offline , and when i tryed to go my blog , it got me the same msg, so i deleted the plugin from the plugin folder, and everything went fine, can you help me fix this?
March 13th, 2007 at 3:28 pm
[…] Web Analytic Matt - Web Log Generator Plugin […]
March 13th, 2007 at 4:06 pm
Jonathan,
There is no log viewer, You can just download the logs from your FTP server.
March 13th, 2007 at 4:08 pm
Severus,
Thank you for trying the plugin. The reason for the error message is because the location of your logs is not accessable by the script. The folder being pointed to by the $directory variable must be changed to have 777 Linux permissions. Or on an IIS server must have everybody read/write/execute permissions.
I am aware this presents a security risk for your logs but just dont tell anyone where they are or that you are logging using this script.
March 13th, 2007 at 4:26 pm
Bicycle,
Good point, I would always suggest with any new plugin or application that it should be tested away from a production environment.
Unfortunately the only example I have is my own data and website as I really did make the plugin in about 1 hour.
There really isn’t much to see in terms of an example install as the script doesn’t have a footprint as such in the HTML. The only things are the actual script in plugins directory and the logs in your log directory. If you only have one website then I would suggest making a change late at night when it is quiet and plan the changes before you make them (in the absense of a test environment).
If you have any ideas of how I could display an example then please let me know.
Many Thanks
Matt Hopkins
March 13th, 2007 at 5:37 pm
[…] Web Log Generator crea registros diarios que contiene direcciónes de IP, peticiones, referidores, sellos de fecha/hora y agentes usuarios. Puede ser usado en conjunto con WebLog Analyzer. […]
March 14th, 2007 at 3:45 pm
Still The same thing :S
cant i use a web foldedr like
http://www.domain.com/folder
March 15th, 2007 at 5:52 pm
[…] Web Log Generator creates daily web logs containing IP address, request, referrer, date/time stamp and useragent. Can be used in conjunction with a web log analyser. […]
March 15th, 2007 at 6:46 pm
worked, Thanks matt, i fixed the prob
March 15th, 2007 at 9:28 pm
I need to ask you another q please, how can i view the logs, does the plugin have an interface ?
or i need to download the logs, then find a tool to read them and give me statistics, if yes, can yu recomend a tool please
Thanks
March 18th, 2007 at 8:31 pm
Severus,
You will need to download the logs via FTP then load them into a log analyser. I would recommend NetTracker if you have some money to spend however if not then you can get some basic reports out of something like awstats which is open source.
Thanks
March 31st, 2007 at 1:07 pm
[…] Web Analytic Matt - Web Log Generator Plugin Plugin de Wordpress para generar logs del sitio. (tags: wordpress plugin plugins logs) […]
April 2nd, 2007 at 6:24 am
[…] Web Log Generator creates daily web logs containing IP address, request, referrer, date/time stamp and useragent. Can be used in conjunction with a web log analyser. […]
April 8th, 2007 at 6:49 pm
[…] Web Log Generator creates daily web logs containing IP address, request, referrer, date/time stamp and useragent. Can be used in conjunction with a web log analyser. […]
May 20th, 2007 at 7:38 am
[…] Visit […]
June 8th, 2007 at 11:11 pm
Follow
These are not books, lumps of lifeless paper, but minds alive on the shelves