"Nathan Bubna" <[EMAIL PROTECTED]> writes: >lookup order: LogKit, Log4j, JDK logging, and StandardOutLogChute >(which sends < error to Std.out and > error to Std.err). This still
This is IMHO not a good decision. If you want to have an application that writes to stdout, you get logging messages intermixed. I'd very much appreciate if we send all the logging to stderr. If you run velocity-dep on JDK 1.4 (which is probably one of the most common usage cases that we have), we will send logging to JDK 1.4 logging. Also the default log setting are different for Avalon (debug and up), Stdout (trace and up) and JDK logging (only info and up). >seems appropriate for me and will already not create a velocity.log >file unless Avalon LogKit or Log4j are available and a "runtime.log" >property is set. > - So killing the velocity.log file is as easy as not using >velocity-dep.jar and/or setting "runtime.log = " > - I know this only sort of a B.C. concern, but it isn't really a >trivial change either. > - I'm of the view that Std.err is for errors (and maybe warnings), >and is Std.out really redirected that often? And when it is, is that >really our concern? Seems to me anyone redirecting Std.out should be >prepared for surprises or least they shouldn't be critical. >So, all that is to say that i currently am: >-0 on removing Log4j and LogKit from the default lookup order in 1.5 I'm fine here. >-1 on punting trace/info/debug messages to Std.err I disagree here. The current 1.5-dev release changes the behaviour compared to 1.4. 1.4 never logged anything to stdout. So if you have an app that uses stdout for actual results, these will break using 1.5. That is bad and will upset users. >+0 on punting warning messsages to Std.err >-1 on putting StandardOutLogChute or kin before JdkLogChute in the lookup order I'd agree here. >+1 for tweaking this later on when we drop LogSystem support et al We will have to do that anyway... :-) Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]