Page 1 of 1

Can you run Madbuild without generating a log file?

Posted: Tue Nov 07, 2023 10:32 am
by ClanMoffat
Hi!
I've got madbuild running to generate builds of a MadCap Flare Target into PDF/Word. :D

Is it possible to build a MadCap target with madbuild and not generate the MadCap log file? :?:

I tried using the -log true and -log false options with madbuild, but this appeared to make no difference at all! :roll:

I could always set up some post-build steps to clear-up any log generated, but that's not ideal... :D

Any thoughts?

Re: Can you run Madbuild without generating a log file?

Posted: Tue Nov 14, 2023 7:16 am
by trent the thief
Maybe sharing your reason to prevent the log from generating will help someone think of an idea.

Re: Can you run Madbuild without generating a log file?

Posted: Tue Nov 14, 2023 11:55 pm
by NorthEast
If you just don't want the log file to be put in the output folder, you can change where log files are saved in File > Options > Build > Log Destination.

This works for regular builds, but I haven't checked that it works for madbuild too.

Re: Can you run Madbuild without generating a log file?

Posted: Wed Nov 15, 2023 10:25 am
by doc_guy
We use destinations for our builds as well, and if you Build and Publish, then it will copy the resulting file wherever you want, without the log file. This is irrespective of if you build using the UI or madbuild.