On 27-Dec-07, at 1:00 PM, Ryan McKinley wrote:
INFO: [null] /select
I just committed something that changes the default behavior to
"[core]"
Thanks!
Perhaps we should omit the [<corename>] if it is null?
an early patch had that, but it seems a bit silly to have every log
message check for a valid core name. Right now it does:
log.warning("["+name+"] "+ msg);
maybe their could be be a
logID = (name==null)?"": ("["+name+"] ");
then we could have:
log.warning( logID + msg);
Seems like that would be the best solution. Me (and, I think, many
others), would be unlikely to used the multiple core functionality of
Solr at all. Avoiding lengthening the log messages in this case
would be nice.
cheers,
-Mike