Hey,
is there a specific reason the log level in Pd's console and the -verbose flag do different things?
I think the idea of -verbose is to "enable" posting messages at log level 4. "verbose(1, ...)" only sends to the GUI if "sys_verbose" is true. Note that the log level passed to the "verbose" function starts at -3 instead of 0 (don't ask me why...), so "verbose(1, ...)" actually results in log level 4.
I think this is meant as an optimization to avoid spamming the GUI process with super verbose output. The thing is that code like "if (sys_verbose) post(...)" should really be replaced with "verbose(1, ...)".
BTW, I could imagine adding a new "-loglevel" flag which mirrors the GUI's log levels and filters the console output accordingly when running Pd with -nogui or -stderr.
Christof
Gesendet: Montag, 07. Oktober 2019 um 12:16 Uhr Von: "Peter P." peterparker@fastmail.com An: pd-list pd-list@iem.at Betreff: [PD] difference between log level and -verbose flag?
Hi dear list,
is there a specific reason the log level in Pd's console and the -verbose flag do different things?
The former does not print these valuable error messages about abstractions or externals not being loaded.
Wouldn't it be great if these two functions could be combined for simpler understanding?
thanks for all ideas!
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list