Re: [Emc-developers] Setting the rtapi debug level

2018-03-06 Thread Gene Heskett
On Tuesday 06 March 2018 08:09:58 andy pugh wrote:

> Am I right in thinking that there is currently no way to alter the
> debug level without recompiling?
> (specifically in uspace)
>
> We used to be able to write to a file somewhere, but I seem to recall
> that no longer works?
>
> Is is something that a very simple HAL component could do?

I haven't used it in a while, and not in hal but does the ini files 
DEBUG= statement no longer work?

The reason it fell out of use here was that it didn't elicit the expected 
response, and the docs now contain no data as to how to use it, when I 
open the docs and go to page 300, at 6.2.2.1, the explanation of the 
debug statement has been reduced to one sentence referring to a src file 
that isn't linked. That, if you don't have the srcs installed, is rather 
less than usefull. The full description, bit by bit would be at least a 
full page since its a 32 bit value? There have been times when I could 
have used it in the last year.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Setting the rtapi debug level

2018-03-06 Thread Rene Hopf

> On 6. Mar 2018, at 14:09, andy pugh  wrote:
> 
> Am I right in thinking that there is currently no way to alter the
> debug level without recompiling?
> (specifically in uspace)
> 
> We used to be able to write to a file somewhere, but I seem to recall
> that no longer works?
> 
> Is is something that a very simple HAL component could do?

yes and no. I asked the same question a few weeks ago.
According to jepler, some components save the debug level, change it, and then 
change it back.
maybe each component can have a hal parameter to change the debug level?
just like they all have the tmax value…

> 
> -- 
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Setting the rtapi debug level

2018-03-06 Thread andy pugh
Am I right in thinking that there is currently no way to alter the
debug level without recompiling?
(specifically in uspace)

We used to be able to write to a file somewhere, but I seem to recall
that no longer works?

Is is something that a very simple HAL component could do?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers