alex2 / django_logtail Goto Github PK
View Code? Open in Web Editor NEWView and live-tail any plaintext logfiles accessible by your Django project.
License: MIT License
View and live-tail any plaintext logfiles accessible by your Django project.
License: MIT License
Hello Alex,
Please update your version in Pip Python repo, the version 0.3 dont works, only version in the github 0.4 work
Thanks
Hi!
You have mistake at guide (3 line):
LOGTAIL_FILES = {
'apache': '/var/www/www.foo.com.log',
'django', '/var/log/www.foo.com/project.log',
}
The following django deprecation warning is generated
me:~/repos/data_db (feature/ELE-641 *$)$ python -Wa manage.py test
Creating test database for alias 'default'...
/usr/local/anaconda3/envs/data_db/lib/python3.7/site-packages/django_logtail/admin.py:100: RemovedInDjango40Warning:
django.conf.urls.url() is deprecated in favor of django.urls.re_path().
Versions installed (via conda):
django 3.1.7 pyhd3eb1b0_0
django-logtail 0.3.0 pypi_0 pypi
Deprecation is described here in the Django 3.1 release notes:
https://docs.djangoproject.com/en/3.1/releases/3.1/#id2
I'm trying to install... but getting error with root urlconf...
from django_logtail import urls as logtail_urls #??????
urlpatterns = patterns('',
# First this
url(r'^admin/django_logtail/', include(logtail_urls)), # <<<=== logtail_urls taken from where?
# Then this
url(r'^admin/', include(admin.site.urls)),
...
)
Using Django 1.5, running ./manage.py dumpdata
gives me:
CommandError: Unable to serialize database: relation "django_logtail_log" does not exist
LINE 1: SELECT "django_logtail_log"."id" FROM "django_logtail_log" O...
Not sure if this is explicitly linked to Django 1.5, but I haven't encountered it on other projects using 1.4...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.