On Saturday, 17 February 2018 15.27.48 WET Scott Kostyshak wrote:
> On Sat, Feb 17, 2018 at 01:53:55PM +0000, José Abílio Matos wrote:
> > What are the cases where a bigger warning is expected?
> 
> I don't have anything specific in mind. There are seven instances of
> "logger.warning" if you want to search for specific cases.
> 
> Scott

The more I look into it the more I think that the warnings in the configure.py 
should be either 
critical or at least error.

Those are the most severe logging levels (the others are warning, info, debug 
and notset). We 
can define other levels but I think that those are more than enough. Actually 
we had a message 
from Fernando Perez (from jupyter's hall of fame) ~ 10 years ago regarding the 
logging levels 
for lyx2lyx.

The question then becomes about what shall we do if we encounter one of the 
them. So 
basically we can set a counter for each of those types and return an error code 
if the counters 
above a given threshold are positive.

Where I would appreciate some help is to categorize those 7 events, as I said 
above I do not 
think that "Latex not usable (not LaTeX2e) " is warning, I would say that it 
critical.

So basically go to lib/configure.py and search for logging.warning, please help 
me to categorize 
those messages, raising (if necessary) the logging level.

What do you think?

Best regards,
-- 
José Abílio

Reply via email to