Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > Django Plugins

    django_logtail 0.0.6

    Download button

    No screenshots available
    Downloads: 112  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alex Holmes | More programs
    MIT/X Consortium Lic... / FREE
    April 25th, 2012, 12:32 GMT [view history]
    ROOT / Internet / Django Plugins

     Read user reviews (0)  Refer to a friend  Subscribe

    django_logtail description

    A log viewing and tailing utility accessible via a Django admin panel

    django_logtail is a Django app that allows you to view logfiles for your django project via your django admin, and will also provide you with a live tail of the logfiles using ajax polling - and therefore without the need for a long-running django process.

    Installation and Use

    Django logtail takes a dictionary from your settings.py as follows::

        LOGTAIL_FILES = {
            'apache': '/var/www/www.foo.com.log',
            'django', '/var/log/www.foo.com/project.log',
        }


    Add it via your installed apps::

        INSTALLED_APPS = (
            ...
            'django_logtail',
        )


    If any of your django admin plugin apps already add a jquery header::

        LOGTAIL_INCLUDE_JQUERY = False # Default is True

    Next hook it into your root_urlconf, above the bog-standard admin urls::

        urlpatterns = patterns('',
            # First this
            url(r'^admin/django_logtail/', include(logtail_urls)),

            # Then this
            url(r'^admin/', include(admin.site.urls)),
            ...
        )


    Then absolutely ensure that the user that your django process runs as (whether it's via wsgi, fastcgi, django runserver for debugging, or something else) has permission to read all of the files in your LOGTAIL_FILES list.

    logtail should then appear in your admin, and provide access to these files - including a live tail of the file.

    Simples.

    Other Settings

    You can set the default update interval for the log tailing::

        LOGTAIL_UPDATE_INTERVAL = 50000 # Default is 1000 (one second)


    Product's homepage

    Requirements:

    · Python
    · Django

    What's New in This Release: [ read full changelog ]

    · Use a CDN that does not serve gateway timeouts (mediatemple -> Google).

      


    TAGS:

    log viewer | Django logtail | Django | logtail | log

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM