abstract the input source?

9 views
Skip to first unread message

slestak

unread,
Apr 20, 2011, 1:31:24 PM4/20/11
to logutils
Vinay,

I really like this interface.

Considering ways to make it able to ingest other sources of log data.
Particularly this source:

https://github.com/andreisavu/mongodb-log

Also wonder if the regex search field could be altered to also allow
searching by time, facility, etc. What do you think of a radio button
or a domain specific language?

Vinay Sajip

unread,
Apr 21, 2011, 12:41:14 PM4/21/11
to logutils
Sorry, I don't understand what you mean. Which exact interface are you
referring to?

Regards,

Vinay Sajip

Steve Romanow

unread,
Apr 21, 2011, 1:00:13 PM4/21/11
to logu...@googlegroups.com
I am saying right now you have a socket server interface only.

If the input to logview could be modularized, I could see potential
for reading a file off disk, maybe for the mongodb-log issuing a js
query to hit the mongo instance.

Vinay Sajip

unread,
Apr 21, 2011, 1:50:27 PM4/21/11
to logutils
Ok, I see - you were talking about liking the UI. Agreed that the
logging events interface is sockets only, but it would be fairly easy
to either adapt logview for your needs, or to set up some mechanisms
to get log data from wherever + send them to logview via a socket. The
reason I haven't built this kind of functionality into logview is that
it's just meant to be a basic viewer and not anything more
sophisticated, others can build on top of it to support MongoDB, Redis
etc. etc. if they need to. I want to keep the dependencies for logview
simple - Qt as essential and ZeroMQ as optional.

Regards,

Vinay Sajip

Steve Romanow

unread,
Apr 21, 2011, 1:52:04 PM4/21/11
to logu...@googlegroups.com
I think I will attempt that functionality. Instead of hard-coding
mine, I wanted to try to make it flexible enough to allow the input
source of the log messages to be configurable.

Steve Romanow

unread,
Apr 21, 2011, 1:52:53 PM4/21/11
to logu...@googlegroups.com
At the moment, I am using a webapp (graylog2) but would rather keep my
focus on python.
Reply all
Reply to author
Forward
0 new messages