| Django_logtail. Django °ü¸® ÆгÎÀ» ÅëÇØ ·Î±× º¸´Â ¹× ²¿¸® À¯Æ¿¸®Æ¼ ¾×¼¼½º °¡´É |
Áö±Ý ´Ù¿î·Îµå |
Django_logtail. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/alex2/
Django_logtail. ű×
Django_logtail. ¼³¸í
Django_LogtailÀº Django °ü¸®ÀÚ¸¦ ÅëÇØ Django ÇÁ·ÎÁ§Æ®ÀÇ ·Î±× ÆÄÀÏÀ» º¼ ¼öÀÖ°Ô ÇØÁÖ´Â Django ¾ÛÀ¸·Î Ajax Æú¸µÀ» »ç¿ëÇÏ¿© ·Î±× ÆÄÀÏÀÇ ¶óÀÌºê ²¿¸®¸¦ Á¦°øÇϹǷΠÀå±â ½ÇÇà Django Process.InstallationÀÌ ÇÊ¿äÇÏÁö ¾Ê½À´Ï´Ù. ±×¸®°í UsedJango LogtailÀº ´ÙÀ½°ú °°ÀÌ ¼³Á¤¿¡¼ »çÀüÀ» °¡Á®¿É´Ï´Ù .: logtail_files = { 'apache': '/var/www/www.foo.com.log', 'django', '/var/log/www.foo .com / project.log ',} ¼³Ä¡µÈ ¾ÛÀ» ÅëÇØ Ãß°¡ÇϽʽÿÀ :: installed_apps = (...'django_logtail ',) django admin plugin ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ ÀÌ¹Ì jquery Çì´õ¸¦ Ãß°¡ÇÏ´Â °æ¿ì :: logtail_include_jquery = false # default´Â truenextÀÔ´Ï´Ù. root_urlconf¿¡ root_urlconf¿¡ ¿¬°áÇϽʽÿÀ. urlpatterns = ÆÐÅÏ ( '', # ù ¹ø° URL (r '^ admin / django_logtail /'(logtail_urls) Æ÷ÇÔ), # ´ÙÀ½ URL (R '^ admin / ', include (admin.site.urls)), ...) ±×·± ´ÙÀ½ Django ÇÁ·Î¼¼½º°¡ WSGI, FASTCGI, Django Runserver¸¦ ÅëÇØ Djangi runserver¸¦ ÅëÇØ »ç¿ëÇÏ´Â °Íó·³ ½ÇÇàµÇ´Â »ç¿ëÀÚ°¡ Àý´ëÀûÀ¸·Î º¸ÀåÇÕ´Ï´Ù. NG ¶Ç´Â ´Ù¸¥ °Í)Àº logtail_files list.logtail¿¡¼ ¸ðµç ÆÄÀÏÀ» ÀÐÀ» ¼öÀÖ´Â ±ÇÇÑÀÌ ÀÖÀ¸¸ç °ü¸®ÀÚ¿¡ ³ªÅ¸³ª¾ßÇϸç ÆÄÀÏÀÇ ¶óÀÌºê ²¿¸®¸¦ Æ÷ÇÔÇÏ¿© ÀÌ·¯ÇÑ ÆÄÀÏ¿¡ ´ëÇÑ ¾×¼¼½º¸¦ Á¦°øÇؾßÇÕ´Ï´Ù. ´Ù¸¥ ¼³Á¤Àº ±âº»°ªÀ» ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ·Î±× Å×Àϸµ¿¡ ´ëÇÑ ¾÷µ¥ÀÌÆ® °£°Ý :: logtail_update_interval = 50000 # ±âº»°ªÀº 1000 (1 ÃÊ) Á¦Ç°ÀÇ È¨ÆäÀÌÁöÀÔ´Ï´Ù.
Django_logtail. °ü·Ã ¼ÒÇÁÆ®¿þ¾î