the help says:

"-verbose -- extra printout on startup and when searching for files"

The only caveat is that the user has to turn on log level 4 in the GUI to 
actually *see* the printout in the Pd console. Maybe loglevel 4 could be 
renamed from "all" to "verbose"? Don't know if that would help...

On the other hand, -verbose could be enabled by default for -gui + *no* -stderr 
since it is filtered by the GUI anyway...

Christof

> Gesendet: Montag, 07. Oktober 2019 um 13:32 Uhr
> Von: "Peter P." <[email protected]>
> An: [email protected]
> Betreff: Re: [PD] difference between log level and -verbose flag?
>
> Thanks for your attempt to clarify Christof. I must say that I have a
> hard time understanding it nevertheless so I ask myself how beginners to
> Pd are expected to understand/use it.
>
> * Christof Ressi <[email protected]> [2019-10-07 13:19]:
> > 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." <[email protected]>
> > > An: pd-list <[email protected]>
> > > 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!
> > >
> > >
> > >
> > > _______________________________________________
> > > [email protected] mailing list
> > > UNSUBSCRIBE and account-management -> 
> > > https://lists.puredata.info/listinfo/pd-list
> > >
> >
> >
> >
> > _______________________________________________
> > [email protected] mailing list
> > UNSUBSCRIBE and account-management -> 
> > https://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
>



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to