Originally I had done exactly that, but I had problems with the perl script not exiting, so I would get a process hanging every 5 mins. A real pain to kill them all.

Maybe I will try this again and let you know. I always liked the server better, since I could also connect with the browser querying the owserver as well, without affecting the running script.

Thanks

Christian Magnusson wrote:

One solution would be to start owserver in the background, and then
connect to the local port instead. The speed would increase too since
you would use the cached results in owserver too.

owserver -u -p 3000

And then connect to port 3000 in the perl-script.
OW::init("3000")

/Christian


On Sun, 2005-04-24 at 08:04 -0400, Congo Lawrence wrote:


Paul Alfille wrote:

On Saturday 23 April 2005 05:16 pm, A C wrote:


Depending on which syslog you use, you should be able to filter it or
send it to /dev/null in you syslog config file.

On 4/23/05, Congo Lawrence <[EMAIL PROTECTED]> wrote:


I use a perl script and perl bindings to read my devices every 5mins
through a Cron entry, and load my rrd database and create rrd graphs.
Works great.

However in my syslog I get these every 5 mins:
Apr 23 10:30:01 sol OWFS[18295]: Opened USB DS9490 adapter at 004/002.
Apr 23 10:30:01 sol OWFS[18295]: Successful setup (reset=0) USB DS9490
adapter at 004/002.

Is there anyway to stop these messages, or direct them to another file?

Thanks


The original design for logging USB opening was for owfs or owhttpd that start once and stay open. I notice that most USB device hotplugging or startup seems to be logged. OWFS copied that design.

Intermittent perl scripts could generate a lot of reports. Should the script access be handled differently in terms of logging?

Paul


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers



You are suggesting then, that one solution is to loop my 5 min actions
within my script then.  I can give that a try.  I am not sure that I
can filter out just those entries in the my syslog as was also
suggested, but I will try that as well.

Thanks for the help.





------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to