May 17th, 2008

Web Log Generator Plugin

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/

20 Responses to 'Web Log Generator Plugin'

  1. 1Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 3/12
    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. […]


  2. 2Jonathan
    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?


  3. 3Bicycle
    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.


  4. 4WeblogToolsCollection DE » Blog Archive » WordPress Plugin Veröffentlichungen am 12.3.
    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. […]


  5. 5Severus
    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?


  6. 6L’urlo del coniglio » Blog Archive » links for 2007-03-13
    March 13th, 2007 at 3:28 pm

    […] Web Analytic Matt - Web Log Generator Plugin […]


  7. 7admin
    March 13th, 2007 at 4:06 pm

    Jonathan,

    There is no log viewer, You can just download the logs from your FTP server.


  8. 8admin
    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.


  9. 9admin
    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


  10. 10WeblogToolsCollection Español » Blog Archive » Plugins de WordPress publicados 12/3
    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. […]


  11. 11Severus
    March 14th, 2007 at 3:45 pm

    Still The same thing :S

    cant i use a web foldedr like
    http://www.domain.com/folder


  12. 12WordPress Plugins for March 14, 2007 « designcreatology
    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. […]


  13. 13Severus
    March 15th, 2007 at 6:46 pm

    worked, Thanks matt, i fixed the prob :D


  14. 14Severus
    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


  15. 15admin
    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


  16. 16links for 2007-03-14 en newdisco
    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) […]


  17. 17The Official Blog for Designcreatology.com » Blog Archive » WordPress Plugins for March 13, 2007
    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. […]


  18. 18WP Plugins March 13, 2007 « Blogtology
    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. […]


  19. 19WP Plugins DB » Blog Archive » Web Log Generator
    May 20th, 2007 at 7:38 am

    […] Visit […]


  20. 20Ethan
    June 8th, 2007 at 11:11 pm

    Follow

    These are not books, lumps of lifeless paper, but minds alive on the shelves


Leave a Response