This discussion is needless - there will never be a call to an external grep for MaillogTail !!!!!
-> no highlighting any more - or we have to parse the results again to have it (parse two times) -> there is no faster regex engine than the one in Perl -> grep could never return context lines -> grep needs a call to system() or qx() - MaillogTail is done in MainThread - so, this primary thread goes out of control These are only some reasons and it would be easy to find more! Close this thread! Thomas K Post <[email protected]> 26.10.2009 15:19 Bitte antworten an ASSP development mailing list <[email protected]> An ASSP development mailing list <[email protected]> Kopie Thema Re: [Assp-test] Antwort: Suggestion- interface. White/red.tuplets and analyze Right Fritz, but what Scott's talking about (and I'm liking) is the possibility of using a grep call from within ASSP to make local loging and display via that ASSP interface faster and more efficient. Certainly worth at least exploring. You can grep a file backwards, indirectly. There's a couple of ways that I can think of. you could use "tac," essentially cat backwards and pipe its results to grep. I don't know if tac is available on win32. I think tail has a function to simply reverse the file, I think it's -r, but not sure. I'm sure there are many others. Hope this gets you started Scott. On Mon, Oct 26, 2009 at 1:42 AM, Fritz Borgstedt <[email protected]> wrote: > ASSP development mailing list <[email protected]> > schreibt: >>Perhaps taking it even further, the log data could go to a file, but >>also just be mirrored out on a socket somewhere. Then anyone can >>make >>an app that reads that socket in. It could be a desktop app, that >>does caching and all sorts of other nice things. > > The log data goes to a file. > There are a lot of option to handle logging not in ASSP > > SYSLOG Centralized Logging (sysLog) > Enables logging to UNIX Syslog. Needs Sys::Syslog for local > (UNIX/LINUX) logging or Net::Syslog for Windows or Network logging. > > Syslog Port (UDP) (sysLogPort) > Port for Syslog logging with Net::Syslog. > > Syslog Facility (SysLogFac) > Syslog Facility. Valid are kern, user, mail, daemon, auth, syslog, > lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2, local3, > local4, local5, local6 > > Syslog IP (sysLogIp) > IP Address of your Syslog Daemon for Syslog logging with Net::Syslog. > > ASSP local logging (asspLog) > ASSP manages local logging. The logs are stored inside the directory > where ASSP is installed. > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Assp-test mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-test > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test DISCLAIMER: ******************************************************* This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. This email was multiple times scanned for viruses. There should be no known virus in this email! ******************************************************* ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test
