lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edition Engraver suppress log files


From: Urs Liska
Subject: Re: Edition Engraver suppress log files
Date: Mon, 15 Oct 2018 10:51:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi Jan-Peter,

I've just arrived back at my computer.


Am 15.10.2018 um 10:40 schrieb Jan-Peter Voigt:
Hi Urs and all,

I created a branch 'addOptionHandling' for the edition-engraver. It
contains an option 'write-log', which is true by default, but can be set
to false to prevent writing of *.edition.log files.
I'd prefer default to true, but can change it if there are reasonable
votes against it.

One thing I wanted to ask for is having a consistent naming for such an option in any OLL package that may choose to write log files. But I'm totally OK with 'write-log' so that is already accepted.

I understand that the edition-engraver should by default write the log since that is often an essential tool to set up the addressing scheme of edition mods. For oll-core in general this looks different: there the logs are usually only interesting for debugging purposes if something goes wrong (actually I've never made use of that features so far).

What do you think: is it confusing if different OLL package provide the option to write log files but have different defaults?

###

I had another thought over the weekend that I'd like to present for discussion. What about unifying the log files and write all log entries to *one* log file to reduce cluttering of the output directory? In that case packages wouldn't have to deal with writing the files on their own but would defer that to the logging module in oll-core. A function would then at the end of the compilation process write the log file from entries passed to it along the way. It would write them to sections, similar to a config file.

What do you think? Is that worth the effort?

Best
Urs

If someone could have a look and test it I can merge this change soon.

Jan-Peter

Am 14.10.2018 um 08:32 schrieb Urs Liska:

Am 14. Oktober 2018 08:29:46 MESZ schrieb Jan-Peter Voigt <address@hidden>:
Hi Craig,

not right now, but I will implement a switch ASAP!

Please use the \setOption syntax for that.

Jan-Peter

Am 14. Oktober 2018 07:30:44 MESZ schrieb Craig Dabelstein
<address@hidden>:
Hi all,

Quick question: Is it possible to stop the edition-engraver creating
log
files?

Craig


--
*Craig Dabelstein*
Maxime's Music
address@hidden
*http://maximesmusic.com <http://maximesmusic.com>*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]